@xpert-ai/plugin-sdk 3.15.2 → 3.15.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @xpert-ai/plugin-sdk
2
2
 
3
+ ## 3.15.3
4
+
5
+ ### Patch Changes
6
+
7
+ - bdcb73b: handoff messages
8
+ - Updated dependencies [bdcb73b]
9
+ - @xpert-ai/contracts@3.15.4
10
+
3
11
  ## 3.15.2
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/plugin-sdk",
3
- "version": "3.15.2",
3
+ "version": "3.15.3",
4
4
  "license": "AGPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -79,6 +79,8 @@ export interface HandoffMessageHeaders extends Record<string, string> {
79
79
  source?: RunSource;
80
80
  requestedLane?: LaneName;
81
81
  integrationId?: string;
82
+ policyTimeoutMs?: string;
83
+ policyIdleTimeoutMs?: string;
82
84
  }
83
85
  /**
84
86
  * Processor execution policy: declared by the Processor, executed uniformly by the Dispatcher.
@@ -86,11 +88,14 @@ export interface HandoffMessageHeaders extends Record<string, string> {
86
88
  export interface ProcessorPolicy {
87
89
  lane: LaneName;
88
90
  timeoutMs?: number;
91
+ idleTimeoutMs?: number;
89
92
  }
90
93
  export interface ProcessContext {
91
94
  runId: string;
92
95
  traceId: string;
93
96
  abortSignal: AbortSignal;
97
+ heartbeat?: (reason?: string) => void;
98
+ getAbortReason?: () => string | undefined;
94
99
  /**
95
100
  * Optional local-process event channel for queue waiters (e.g. SSE connection awaiting this message).
96
101
  * This is intentionally process-local and best-effort.