agent-contracts-runtime 0.36.15 → 0.36.16

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.
@@ -103,4 +103,5 @@ interface GuardrailContext {
103
103
  */
104
104
  declare function buildGuardrailContext(dsl: any, binding: any, policyName?: string): GuardrailContext;
105
105
 
106
- export { type GuardrailContext as G, buildGuardrailContext as a, buildContractContext as b };
106
+ export { buildGuardrailContext as a, buildContractContext as b };
107
+ export type { GuardrailContext as G };
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export { b as buildContractContext, a as buildGuardrailContext } from '../context-B_bekYiE.js';
2
+ export { b as buildContractContext, a as buildGuardrailContext } from '../context-BEisfYPn.js';
3
3
 
4
4
  /**
5
5
  * Generator configuration — loads and validates agents.conf.yaml / agent-runtime.config.yaml
@@ -152,4 +152,5 @@ interface GenerateResult {
152
152
  declare function generate(options?: GenerateOptions): Promise<GenerateResult>;
153
153
  declare function checkFreshness(configPath?: string): Promise<boolean>;
154
154
 
155
- export { DEFAULT_CONFIG_PATH, type GenerateOptions, type GenerateResult, type ProjectConfig, ProjectConfigSchema, type ResolvedConfig, checkFreshness, generate, loadConfig, loadProjectConfig };
155
+ export { DEFAULT_CONFIG_PATH, ProjectConfigSchema, checkFreshness, generate, loadConfig, loadProjectConfig };
156
+ export type { GenerateOptions, GenerateResult, ProjectConfig, ResolvedConfig };
@@ -80,4 +80,5 @@ declare function createGuardrailHooks(checks: GuardrailCheckFunctions): Guardrai
80
80
  declare function createGuardrailHooksForAgent(agentId: string, perAgent: Map<string, GuardrailRuleData>): GuardrailHooks;
81
81
  declare function createGuardrailHooksFromRules(rules: GuardrailRuleData): GuardrailHooks;
82
82
 
83
- export { type GuardrailHooks as G, type HookContext as H, type GuardrailRuleData as a, type GuardrailCheckFunctions as b, type GuardrailCheckResult as c, type GuardrailRule as d, type HookResponse as e, createGuardrailHooks as f, createGuardrailHooksForAgent as g, createGuardrailHooksFromRules as h, getBlockingViolations as i, getWarnings as j, hasBlockingViolation as k };
83
+ export { createGuardrailHooks as f, createGuardrailHooksForAgent as g, createGuardrailHooksFromRules as h, getBlockingViolations as i, getWarnings as j, hasBlockingViolation as k };
84
+ export type { GuardrailHooks as G, HookContext as H, GuardrailRuleData as a, GuardrailCheckFunctions as b, GuardrailCheckResult as c, GuardrailRule as d, HookResponse as e };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { S as SdkAdapter, T as TaskOutcome, b as TaskContractLike, c as AgentContractLike, d as TaskContext, P as PromptBuilderOptions, e as TaskRunResult } from './task-runner-Bo37lS9q.js';
2
- export { A as AdapterSendOptions, a as AgentExecutionRequest, f as AgentProgressEvent, C as CacheConfig, g as CandidateAgent, I as InMemoryStore, M as MemoryRef, h as MemoryStore, R as RetryDecision, i as SplitPrompt, j as TaskRunOptions, k as buildCandidateAgents, l as buildRetryFollowUp, m as buildSplitTaskPrompt, n as buildTaskPrompt, o as extractStructuredResult, r as renderAgentSystemPrompt, p as runTask, z as zodSchemaToPromptDescription, q as zodSchemaToYamlExample } from './task-runner-Bo37lS9q.js';
1
+ import { S as SdkAdapter, T as TaskOutcome, b as TaskContractLike, c as AgentContractLike, d as TaskContext, P as PromptBuilderOptions, e as TaskRunResult } from './task-runner-CD8nnKpn.js';
2
+ export { A as AdapterSendOptions, a as AgentExecutionRequest, f as AgentProgressEvent, C as CacheConfig, g as CandidateAgent, I as InMemoryStore, M as MemoryRef, h as MemoryStore, R as RetryDecision, i as SplitPrompt, j as TaskRunOptions, k as buildCandidateAgents, l as buildRetryFollowUp, m as buildSplitTaskPrompt, n as buildTaskPrompt, o as extractStructuredResult, r as renderAgentSystemPrompt, p as runTask, z as zodSchemaToPromptDescription, q as zodSchemaToYamlExample } from './task-runner-CD8nnKpn.js';
3
3
  import { z } from 'zod';
4
- import { a as GuardrailRuleData, G as GuardrailHooks } from './guardrail-hooks-C8G5NGsj.js';
5
- export { b as GuardrailCheckFunctions, c as GuardrailCheckResult, d as GuardrailRule, H as HookContext, e as HookResponse, f as createGuardrailHooks, g as createGuardrailHooksForAgent, h as createGuardrailHooksFromRules, i as getBlockingViolations, j as getWarnings, k as hasBlockingViolation } from './guardrail-hooks-C8G5NGsj.js';
6
- import { G as GuardrailContext } from './context-B_bekYiE.js';
4
+ import { a as GuardrailRuleData, G as GuardrailHooks } from './guardrail-hooks-CFd3a8tQ.js';
5
+ export { b as GuardrailCheckFunctions, c as GuardrailCheckResult, d as GuardrailRule, H as HookContext, e as HookResponse, f as createGuardrailHooks, g as createGuardrailHooksForAgent, h as createGuardrailHooksFromRules, i as getBlockingViolations, j as getWarnings, k as hasBlockingViolation } from './guardrail-hooks-CFd3a8tQ.js';
6
+ import { G as GuardrailContext } from './context-BEisfYPn.js';
7
7
 
8
8
  /**
9
9
  * ModelResolver — resolves a model_class to a concrete adapter + model pair.
@@ -619,4 +619,5 @@ interface ExecuteWorkflowOptions extends ExecuteOptions {
619
619
  }
620
620
  declare function executeWorkflow(workflowId: string, options: ExecuteWorkflowOptions): Promise<WorkflowResult>;
621
621
 
622
- export { type AdapterOrFactory, AgentContractLike, type AgentPlugin, type ArtifactBindingConfig, type BoundResolveOptions, BoundResolver, type CreateAdapterOptions, type DelegateStep, type DslContext, DslValidationError, type ExecuteOptions, type ExecuteTaskOptions, type ExecuteWorkflowOptions, type GateStep, GuardrailHooks, type GuardrailResult, GuardrailRuleData, type HandoffInput, type LoadDslOptions, type ModelAwareSdkAdapterFactory, type ModelClass, type ModelMappingConfig, type ModelResolver, type ModelResolverOptions, type PermissionMode, type PluginLoadResult, PluginRegistry, type ProgressSink, type ProgressSinkOptions, type PromptBuilderArgs, PromptBuilderOptions, type RequiredEntities, type ResolvedComponent, type ResolvedModel, type Runtime, type RuntimeConfig, SdkAdapter, type SdkAdapterFactory, type StepCompleteEvent, type StepResult, TaskContext, TaskContractLike, type TaskHookContext, TaskOutcome, TaskRunResult, WorkflowBuilder, type WorkflowContractLike, type WorkflowHookContext, type WorkflowInvocation, type WorkflowRegistries, type WorkflowResult, type WorkflowRunOptions, type WorkflowStep, buildGateEvaluationPrompt, buildGuardrailRulesFromDsl, buildPerAgentGuardrails, buildRegistriesFromDsl, createAdapter, createModelResolver, createProgressSink, createRuntime, executeTask, executeWorkflow, getEffectiveGuardrailIds, getGuardrailRulesForAgent, guardrailContextToRuleData, jsonSchemaToZod, loadDslContext, loadPlugins, loadPluginsFromDirectory, loadPluginsFromPaths, parseGateEvaluationResponse, pluginRegistry, runWorkflow };
622
+ export { AgentContractLike, BoundResolver, DslValidationError, GuardrailHooks, GuardrailRuleData, PluginRegistry, PromptBuilderOptions, SdkAdapter, TaskContext, TaskContractLike, TaskOutcome, TaskRunResult, WorkflowBuilder, buildGateEvaluationPrompt, buildGuardrailRulesFromDsl, buildPerAgentGuardrails, buildRegistriesFromDsl, createAdapter, createModelResolver, createProgressSink, createRuntime, executeTask, executeWorkflow, getEffectiveGuardrailIds, getGuardrailRulesForAgent, guardrailContextToRuleData, jsonSchemaToZod, loadDslContext, loadPlugins, loadPluginsFromDirectory, loadPluginsFromPaths, parseGateEvaluationResponse, pluginRegistry, runWorkflow };
623
+ export type { AdapterOrFactory, AgentPlugin, ArtifactBindingConfig, BoundResolveOptions, CreateAdapterOptions, DelegateStep, DslContext, ExecuteOptions, ExecuteTaskOptions, ExecuteWorkflowOptions, GateStep, GuardrailResult, HandoffInput, LoadDslOptions, ModelAwareSdkAdapterFactory, ModelClass, ModelMappingConfig, ModelResolver, ModelResolverOptions, PermissionMode, PluginLoadResult, ProgressSink, ProgressSinkOptions, PromptBuilderArgs, RequiredEntities, ResolvedComponent, ResolvedModel, Runtime, RuntimeConfig, SdkAdapterFactory, StepCompleteEvent, StepResult, TaskHookContext, WorkflowContractLike, WorkflowHookContext, WorkflowInvocation, WorkflowRegistries, WorkflowResult, WorkflowRunOptions, WorkflowStep };
package/dist/index.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  runWorkflow,
22
22
  zodSchemaToPromptDescription,
23
23
  zodSchemaToYamlExample
24
- } from "./chunk-AL2N7IM2.js";
24
+ } from "./chunk-6JVGBBP3.js";
25
25
  import {
26
26
  BoundResolver,
27
27
  buildPerAgentGuardrails,
@@ -41,7 +41,7 @@ import {
41
41
  getWarnings,
42
42
  hasBlockingViolation,
43
43
  pluginRegistry
44
- } from "./chunk-MGRZBGQL.js";
44
+ } from "./chunk-M57HVYUU.js";
45
45
  import "./chunk-KKJW4TE5.js";
46
46
  import {
47
47
  DslValidationError,
@@ -394,4 +394,5 @@ declare function runTask(adapter: SdkAdapter, taskId: string, context: TaskConte
394
394
  };
395
395
  }): Promise<TaskRunResult>;
396
396
 
397
- export { type AdapterSendOptions as A, type CacheConfig as C, InMemoryStore as I, type MemoryRef as M, type PromptBuilderOptions as P, type RetryDecision as R, type SdkAdapter as S, type TaskOutcome as T, type AgentExecutionRequest as a, type TaskContractLike as b, type AgentContractLike as c, type TaskContext as d, type TaskRunResult as e, type AgentProgressEvent as f, type CandidateAgent as g, type MemoryStore as h, type SplitPrompt as i, type TaskRunOptions as j, buildCandidateAgents as k, buildRetryFollowUp as l, buildSplitTaskPrompt as m, buildTaskPrompt as n, extractStructuredResult as o, runTask as p, zodSchemaToYamlExample as q, renderAgentSystemPrompt as r, zodSchemaToPromptDescription as z };
397
+ export { InMemoryStore as I, buildCandidateAgents as k, buildRetryFollowUp as l, buildSplitTaskPrompt as m, buildTaskPrompt as n, extractStructuredResult as o, runTask as p, zodSchemaToYamlExample as q, renderAgentSystemPrompt as r, zodSchemaToPromptDescription as z };
398
+ export type { AdapterSendOptions as A, CacheConfig as C, MemoryRef as M, PromptBuilderOptions as P, RetryDecision as R, SdkAdapter as S, TaskOutcome as T, AgentExecutionRequest as a, TaskContractLike as b, AgentContractLike as c, TaskContext as d, TaskRunResult as e, AgentProgressEvent as f, CandidateAgent as g, MemoryStore as h, SplitPrompt as i, TaskRunOptions as j };
@@ -5,7 +5,7 @@ Generates typed contracts, handoff validators, and guardrail hooks from DSL,
5
5
  then runs workflows through pluggable SDK adapters.
6
6
 
7
7
 
8
- **Version:** 0.36.15
8
+ **Version:** 0.36.16
9
9
 
10
10
  ## Table of Contents
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-contracts-runtime",
3
- "version": "0.36.15",
3
+ "version": "0.36.16",
4
4
  "description": "Runtime bridge for executing agent-contracts workflows on Agent SDKs",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -91,25 +91,25 @@
91
91
  "agent-contracts": "^0.34.0",
92
92
  "commander": "^12.1.0",
93
93
  "dotenv": "^17.4.2",
94
- "handlebars": "^4.7.9",
95
- "tsx": "^4.21.0",
94
+ "handlebars": "^4.7.10",
95
+ "tsx": "^4.22.0",
96
96
  "yaml": "^2.8.3",
97
- "zod": "^4.0.0"
97
+ "zod": "^4.6.7"
98
98
  },
99
99
  "devDependencies": {
100
- "@anthropic-ai/claude-agent-sdk": "^0.2.138",
101
- "@google/adk": "^1.2.0",
102
- "@openai/agents": "^0.11.1",
103
- "@types/node": "^25.6.0",
104
- "cli-contracts": "^0.34.6",
105
- "esbuild": "^0.28.1",
106
- "tsup": "^8.5.0",
107
- "typescript": "^5.8.3",
108
- "vitest": "^4.1.11"
100
+ "@anthropic-ai/claude-agent-sdk": "^0.3.323",
101
+ "@google/adk": "^2.5.0",
102
+ "@openai/agents": "^0.22.0",
103
+ "@types/node": "^26.6.6",
104
+ "cli-contracts": "^0.34.12",
105
+ "esbuild": "^0.28.2",
106
+ "tsup": "^9.0.0",
107
+ "typescript": "^5.9.3",
108
+ "vitest": "^4.1.12"
109
109
  },
110
110
  "peerDependencies": {
111
111
  "@anthropic-ai/claude-agent-sdk": ">=0.2.0",
112
- "@google/adk": ">=1.2.0",
112
+ "@google/adk": ">=2.2.0",
113
113
  "@openai/agents": ">=0.10.0"
114
114
  },
115
115
  "peerDependenciesMeta": {
@@ -126,9 +126,10 @@
126
126
  "overrides": {
127
127
  "uuid": "^11.1.1",
128
128
  "@opentelemetry/core": "^2.8.0",
129
- "@hono/node-server": "^2.0.12",
130
129
  "adm-zip": "^0.6.0",
131
- "qs": "^6.16.0",
132
- "esbuild": "$esbuild"
130
+ "esbuild": "$esbuild",
131
+ "gcp-metadata@^8": {
132
+ "gaxios": "^7.3.1"
133
+ }
133
134
  }
134
135
  }