@sapiom/agent-core
Advanced tools
+23
-0
| # @sapiom/orchestration-core | ||
| ## 0.12.2 | ||
| ### Patch Changes | ||
| - 9afeda9: Add a closed, versioned retry-classification contract for platform-owned step | ||
| errors. `CTX_SHARED_SIZE_LIMIT_EXCEEDED` and | ||
| `STEP_INPUT_VALIDATION_FAILED` now settle executions terminally without | ||
| consuming workflow retries; unknown, author, and capability errors keep the | ||
| legacy retry behavior. | ||
| `StepInputValidationError` now exposes a dedicated bounded wire payload with | ||
| stable `code`, `version`, `stepName`, and `retryable: false` fields while its | ||
| ordinary JSON representation continues carrying raw Zod issues for in-process | ||
| callers. Hosts receive a normalizing `parseNonRetryableStepErrorPayload` | ||
| registry plus `serializeStepCompletionError()` for completion reporters, and | ||
| may implement the additive atomic active-dispatch failure capability required | ||
| for terminal settlement. Older stores omit that capability and retain the | ||
| legacy retry path. | ||
| - Updated dependencies [9afeda9] | ||
| - @sapiom/agent@0.11.0 | ||
| - @sapiom/agent-runtime@0.6.0 | ||
| ## 0.12.1 | ||
@@ -4,0 +27,0 @@ |
@@ -113,3 +113,3 @@ "use strict"; | ||
| outcome: agent_runtime_1.STEP_COMPLETION_OUTCOME.THREW, | ||
| error: { name: e.name, message: e.message, stack: e.stack }, | ||
| error: (0, agent_runtime_1.serializeStepCompletionError)(e), | ||
| shared: sharedStore.snapshot(), | ||
@@ -116,0 +116,0 @@ }, parsed, this.maxAttemptsPerStep); |
| export declare const VERSION_FALLBACK: { | ||
| readonly agent: "0.10.2"; | ||
| readonly agent: "0.11.0"; | ||
| readonly tools: "0.31.0"; | ||
| }; |
@@ -5,4 +5,4 @@ "use strict"; | ||
| exports.VERSION_FALLBACK = { | ||
| agent: "0.10.2", | ||
| agent: "0.11.0", | ||
| tools: "0.31.0", | ||
| }; |
| import { InMemoryContextStore, StepInputValidationError, } from "@sapiom/agent"; | ||
| import { parseCorrelationId, STEP_COMPLETION_OUTCOME, } from "@sapiom/agent-runtime"; | ||
| import { parseCorrelationId, serializeStepCompletionError, STEP_COMPLETION_OUTCOME, } from "@sapiom/agent-runtime"; | ||
| import { createStubClient } from "@sapiom/tools/stub"; | ||
@@ -110,3 +110,3 @@ export class LocalStubDispatcher { | ||
| outcome: STEP_COMPLETION_OUTCOME.THREW, | ||
| error: { name: e.name, message: e.message, stack: e.stack }, | ||
| error: serializeStepCompletionError(e), | ||
| shared: sharedStore.snapshot(), | ||
@@ -113,0 +113,0 @@ }, parsed, this.maxAttemptsPerStep); |
| export declare const VERSION_FALLBACK: { | ||
| readonly agent: "0.10.2"; | ||
| readonly agent: "0.11.0"; | ||
| readonly tools: "0.31.0"; | ||
| }; |
| export const VERSION_FALLBACK = { | ||
| agent: "0.10.2", | ||
| agent: "0.11.0", | ||
| tools: "0.31.0", | ||
| }; |
+3
-3
| { | ||
| "name": "@sapiom/agent-core", | ||
| "version": "0.12.1", | ||
| "version": "0.12.2", | ||
| "description": "Pure, stateless core functions for scaffolding, validating, and operating Sapiom agents — shared by the CLI and MCP packages.", | ||
@@ -40,4 +40,4 @@ "license": "MIT", | ||
| "esbuild": "^0.28.1", | ||
| "@sapiom/agent": "^0.10.2", | ||
| "@sapiom/agent-runtime": "^0.5.0", | ||
| "@sapiom/agent": "^0.11.0", | ||
| "@sapiom/agent-runtime": "^0.6.0", | ||
| "@sapiom/analytics-core": "^0.2.1", | ||
@@ -44,0 +44,0 @@ "@sapiom/tools": "^0.31.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
562403
0.24%+ Added
+ Added
- Removed
- Removed
Updated
Updated