@aaac/runtime 0.2.6 → 0.2.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/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { b as SdkFunctionTool, O as ObserverEmitFn, c as ObservabilityIds, S as SdkAdapter, d as TaskOutcome, e as TaskContractLike, f as AgentContractLike, g as TaskContext, L as LibraryToolRegistry, P as PromptBuilderOptions, h as MemoryStore, M as MemoryRef, i as TaskRunResult } from './task-runner-37cFPFas.js';
2
- export { A as AdapterSendOptions, a as AgentExecutionRequest, j as AgentProgressEvent, C as CacheConfig, k as CandidateAgent, E as EnvelopeParams, I as InMemoryStore, l as InnerSpanOptions, m as LibraryToolDefinition, n as OBSERVABILITY_ENV_VARS, R as RetryDecision, o as SplitPrompt, p as TaskRunOptions, T as TokenUsage, q as buildCandidateAgents, r as buildObservabilityEnv, s as buildRetryFollowUp, t as buildSdkFunctionTools, u as buildSplitTaskPrompt, v as buildTaskPrompt, w as collectAnalyzerToolIds, x as createExecutionEnvelope, y as createLibraryToolRegistry, z as createRegistryFromSdkTools, B as emitIterationClose, D as emitIterationMetric, F as emitIterationOpen, G as emitLlmTurnClose, H as emitLlmTurnOpen, J as emitSessionClose, K as emitSessionOpen, N as emitSubagentClose, Q as emitSubagentOpen, U as emitToolExecClose, V as emitToolExecOpen, W as emitToolchainClose, X as emitToolchainOpen, Y as extractStructuredResult, Z as renderAgentSystemPrompt, _ as renderAnalyzerExplorationMandatePrompt, $ as runTask, a0 as serializeObserverEmit, a1 as shouldInjectAnalyzerExplorationMandate, a2 as zodSchemaToPromptDescription, a3 as zodSchemaToYamlExample } from './task-runner-37cFPFas.js';
1
+ import { b as SdkFunctionTool, O as ObserverEmitFn, c as ObservabilityIds, S as SdkAdapter, d as TaskOutcome, e as TaskContractLike, f as AgentContractLike, g as TaskContext, L as LibraryToolRegistry, P as PromptBuilderOptions, h as MemoryStore, M as MemoryRef, i as TaskRunResult } from './task-runner-CgQx1KUq.js';
2
+ export { j as AdapterError, k as AdapterErrorKind, A as AdapterSendOptions, a as AgentExecutionRequest, l as AgentProgressEvent, C as CacheConfig, m as CandidateAgent, E as EnvelopeParams, I as InMemoryStore, n as InnerSpanOptions, o as LibraryToolDefinition, p as OBSERVABILITY_ENV_VARS, R as RetryDecision, q as SplitPrompt, r as TaskRunOptions, T as TokenUsage, s as adapterErrorKind, t as buildCandidateAgents, u as buildObservabilityEnv, v as buildRetryFollowUp, w as buildSdkFunctionTools, x as buildSplitTaskPrompt, y as buildTaskPrompt, z as collectAnalyzerToolIds, B as createExecutionEnvelope, D as createLibraryToolRegistry, F as createRegistryFromSdkTools, G as emitIterationClose, H as emitIterationMetric, J as emitIterationOpen, K as emitLlmTurnClose, N as emitLlmTurnOpen, Q as emitSessionClose, U as emitSessionOpen, V as emitSubagentClose, W as emitSubagentOpen, X as emitToolExecClose, Y as emitToolExecOpen, Z as emitToolchainClose, _ as emitToolchainOpen, $ as extractStructuredResult, a0 as renderAgentSystemPrompt, a1 as renderAnalyzerExplorationMandatePrompt, a2 as runTask, a3 as serializeObserverEmit, a4 as shouldInjectAnalyzerExplorationMandate, a5 as zodSchemaToPromptDescription, a6 as zodSchemaToYamlExample } from './task-runner-CgQx1KUq.js';
3
3
  import { ProjectModelMapping, ModelClass, ComponentIR, OperationIR } from '@aaac/contracts';
4
4
  export { ModelClass } from '@aaac/contracts';
5
5
  import { z } from 'zod';
@@ -285,6 +285,8 @@ interface GateStep {
285
285
  readonly type: "gate";
286
286
  readonly gate_kind: string;
287
287
  readonly description: string;
288
+ /** Class of the agent that evaluates the gate; a gate has no task to take it from. */
289
+ readonly model_class?: ModelClass;
288
290
  readonly depends_on?: readonly string[];
289
291
  }
290
292
  /**
@@ -1053,6 +1055,10 @@ interface CreateAdapterOptions {
1053
1055
  tools?: string[];
1054
1056
  permissionMode?: PermissionMode;
1055
1057
  guardrailHooks?: GuardrailHooks;
1058
+ /** Stops a running call (claude, openai); the call then fails with AdapterError("aborted") on claude */
1059
+ signal?: AbortSignal;
1060
+ /** Claude Code executable for the claude adapter, instead of the one bundled with the SDK */
1061
+ pathToClaudeCodeExecutable?: string;
1056
1062
  }
1057
1063
  /**
1058
1064
  * Create an SDK adapter instance by name.