@econ-v1/app-sdk 6.9.4 → 6.11.0

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
@@ -106,6 +106,8 @@ export interface CapabilityRequest {
106
106
  * active context here automatically when telemetry is enabled; the receiving
107
107
  * app extracts it to continue the trace. Absent/ignored when OTel is off. */
108
108
  trace_context?: Record<string, string>;
109
+ /** Opaque host-issued correlator copied only across nested capability calls. */
110
+ invocation_context_id?: string;
109
111
  }
110
112
  export interface CapabilityResponse {
111
113
  id: string;
@@ -270,3 +272,5 @@ export declare abstract class NodeApp {
270
272
  * 5. Host sends shutdown, app cleans up and exits
271
273
  */
272
274
  export declare function runNodeApp(app: NodeApp): void;
275
+ /** @internal Test-only inbound IPC seam. */
276
+ export declare function _testHandleMessage(app: NodeApp, message: unknown, send: (message: unknown) => void): Promise<void>;