@aaac/runtime 0.1.13 → 0.1.15
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/adapters/adk-sdk.d.ts +1 -1
- package/dist/adapters/claude-agent-sdk.d.ts +1 -1
- package/dist/adapters/mock.d.ts +1 -1
- package/dist/adapters/openai-agents-sdk.d.ts +1 -1
- package/dist/index.d.ts +97 -3
- package/dist/index.js +256 -2
- package/dist/index.js.map +1 -1
- package/dist/{task-runner-3MPh_dn7.d.ts → task-runner-DUyztyo3.d.ts} +16 -1
- package/package.json +1 -1
|
@@ -263,6 +263,21 @@ declare function emitSubagentOpen(observer: ObserverEmitFn | undefined, envelope
|
|
|
263
263
|
* event-catalog.md §2.2 — optional: agent.duration_ms, agent.status, token_usage, cost_usd
|
|
264
264
|
*/
|
|
265
265
|
declare function emitSubagentClose(observer: ObserverEmitFn | undefined, spanId: string, envelope: ExecutionEnvelope, durationMs: number, status: string, agentRole: string): void;
|
|
266
|
+
/**
|
|
267
|
+
* Emit an evaluate.iteration open span (one closed-loop iteration).
|
|
268
|
+
*
|
|
269
|
+
* Returns the spanId emitted (= generated UUIDv7).
|
|
270
|
+
* Returns undefined when observer is undefined (no-op).
|
|
271
|
+
*/
|
|
272
|
+
declare function emitIterationOpen(observer: ObserverEmitFn | undefined, parentSpanId: string | undefined, evaluateTaskId: string, loopTo: string, iterationNumber: number, maxIterations: number): string | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* Emit an evaluate.iteration close span.
|
|
275
|
+
*/
|
|
276
|
+
declare function emitIterationClose(observer: ObserverEmitFn | undefined, spanId: string, evaluateTaskId: string, iterationNumber: number, verdict: string, durationMs: number, feedbackInjected: boolean): void;
|
|
277
|
+
/**
|
|
278
|
+
* Emit an evaluate.metric instant event when an evaluate step terminates.
|
|
279
|
+
*/
|
|
280
|
+
declare function emitIterationMetric(observer: ObserverEmitFn | undefined, parentSpanId: string | undefined, evaluateTaskId: string, totalIterations: number, terminalOutcome: string): void;
|
|
266
281
|
/**
|
|
267
282
|
* Emit a toolchain.execution open span when a toolchain tool is invoked.
|
|
268
283
|
*
|
|
@@ -944,4 +959,4 @@ declare function runTask(adapter: SdkAdapter, taskId: string, context: TaskConte
|
|
|
944
959
|
libraryTools?: LibraryToolRegistry;
|
|
945
960
|
}): Promise<TaskRunResult>;
|
|
946
961
|
|
|
947
|
-
export { type WorkflowContractLike as $, type AdapterSendOptions as A, type BoundResolveOptions as B, type CacheConfig as C, type DelegateStep as D, type EnvelopeParams as E, type ModelAwareSdkAdapterFactory as F, type GuardrailHooks as G, type HandoffInput as H, InMemoryStore as I, type ModelClass as J, type ModelMappingConfig as K, type LibraryToolRegistry as L, type MemoryRef as M, type ModelResolver as N, type ObserverEmitFn as O, type PromptBuilderOptions as P, type ModelResolverOptions as Q, type ResolvedComponent as R, type SdkAdapter as S, type TaskContext as T, type ReceiveSpec as U, type ResolvedModel as V, type WorkflowResult as W, type RetryDecision as X, type SdkAdapterFactory as Y, type SplitPrompt as Z, type TaskRunOptions as _, type AgentExecutionRequest as a, type WorkflowInvocation as a0, type WorkflowRunOptions as a1, type WorkflowStep as a2, buildCandidateAgents as a3, buildGateEvaluationPrompt as a4, buildPerAgentGuardrails as a5, buildRetryFollowUp as a6, buildSplitTaskPrompt as a7, buildTaskPrompt as a8, createExecutionEnvelope as a9, createGuardrailHooks as aa, createGuardrailHooksForAgent as ab, createGuardrailHooksFromRules as ac, createLibraryToolRegistry as ad, createModelResolver as ae, deriveToolchainsForAgents as af,
|
|
962
|
+
export { type WorkflowContractLike as $, type AdapterSendOptions as A, type BoundResolveOptions as B, type CacheConfig as C, type DelegateStep as D, type EnvelopeParams as E, type ModelAwareSdkAdapterFactory as F, type GuardrailHooks as G, type HandoffInput as H, InMemoryStore as I, type ModelClass as J, type ModelMappingConfig as K, type LibraryToolRegistry as L, type MemoryRef as M, type ModelResolver as N, type ObserverEmitFn as O, type PromptBuilderOptions as P, type ModelResolverOptions as Q, type ResolvedComponent as R, type SdkAdapter as S, type TaskContext as T, type ReceiveSpec as U, type ResolvedModel as V, type WorkflowResult as W, type RetryDecision as X, type SdkAdapterFactory as Y, type SplitPrompt as Z, type TaskRunOptions as _, type AgentExecutionRequest as a, type WorkflowInvocation as a0, type WorkflowRunOptions as a1, type WorkflowStep as a2, buildCandidateAgents as a3, buildGateEvaluationPrompt as a4, buildPerAgentGuardrails as a5, buildRetryFollowUp as a6, buildSplitTaskPrompt as a7, buildTaskPrompt as a8, createExecutionEnvelope as a9, zodSchemaToPromptDescription as aA, zodSchemaToYamlExample as aB, createGuardrailHooks as aa, createGuardrailHooksForAgent as ab, createGuardrailHooksFromRules as ac, createLibraryToolRegistry as ad, createModelResolver as ae, deriveToolchainsForAgents as af, emitIterationClose as ag, emitIterationMetric as ah, emitIterationOpen as ai, emitSessionClose as aj, emitSessionOpen as ak, emitSubagentClose as al, emitSubagentOpen as am, emitToolchainClose as an, emitToolchainOpen as ao, extractStructuredResult as ap, getBlockingViolations as aq, getEffectiveGuardrailIds as ar, getGuardrailRulesForAgent as as, getWarnings as at, guardrailContextToRuleData as au, hasBlockingViolation as av, parseGateEvaluationResponse as aw, renderAgentSystemPrompt as ax, runTask as ay, runWorkflow as az, type TaskOutcome as b, type AgentContractLike as c, type TaskContractLike as d, type WorkflowRegistries as e, type StepCompleteEvent as f, type StepResult as g, type GuardrailRuleData as h, type MemoryStore as i, type ArtifactBindingConfig as j, type TaskRunResult as k, type ResolvedToolchain as l, type LibraryToolDefinition as m, type HookResponse as n, type GuardrailCheckResult as o, type AdapterOrFactory as p, type AgentProgressEvent as q, BoundResolver as r, type CandidateAgent as s, type ConvergenceEnvelope as t, type ConvergenceEnvelopePayload as u, type EvaluateStep as v, type GateStep as w, type GuardrailCheckFunctions as x, type GuardrailRule as y, type HookContext as z };
|