iii-sdk 0.9.0 → 0.10.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.
Files changed (43) hide show
  1. package/dist/index.cjs +46 -39
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +4 -9
  4. package/dist/index.d.cts.map +1 -1
  5. package/dist/index.d.mts +4 -9
  6. package/dist/index.d.mts.map +1 -1
  7. package/dist/index.mjs +30 -24
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/state.cjs +6 -5
  10. package/dist/state.cjs.map +1 -1
  11. package/dist/state.d.cts +13 -30
  12. package/dist/state.d.cts.map +1 -1
  13. package/dist/state.d.mts +13 -30
  14. package/dist/state.d.mts.map +1 -1
  15. package/dist/state.mjs +5 -5
  16. package/dist/state.mjs.map +1 -1
  17. package/dist/{stream-BAjVneSg.d.mts → stream-C1zUjhzk.d.mts} +25 -56
  18. package/dist/stream-C1zUjhzk.d.mts.map +1 -0
  19. package/dist/{stream-DUNsytJU.d.cts → stream-lxenNA3s.d.cts} +25 -56
  20. package/dist/stream-lxenNA3s.d.cts.map +1 -0
  21. package/dist/stream.d.cts +1 -1
  22. package/dist/stream.d.mts +1 -1
  23. package/dist/telemetry.cjs +6 -5
  24. package/dist/telemetry.d.cts +1 -1
  25. package/dist/telemetry.d.cts.map +1 -1
  26. package/dist/telemetry.d.mts +1 -1
  27. package/dist/telemetry.d.mts.map +1 -1
  28. package/dist/telemetry.mjs +1 -1
  29. package/dist/{utils-D6RPYBhs.d.cts → utils-BvWlFlLq.d.cts} +60 -121
  30. package/dist/utils-BvWlFlLq.d.cts.map +1 -0
  31. package/dist/{utils-bsZVduQi.cjs → utils-C6yTT4Js.cjs} +95 -95
  32. package/dist/utils-C6yTT4Js.cjs.map +1 -0
  33. package/dist/{utils-BRn3Iff5.d.mts → utils-_zSeatp1.d.mts} +60 -121
  34. package/dist/utils-_zSeatp1.d.mts.map +1 -0
  35. package/dist/{utils-5jD8F3OE.mjs → utils-xBUm8n1P.mjs} +28 -28
  36. package/dist/utils-xBUm8n1P.mjs.map +1 -0
  37. package/package.json +2 -2
  38. package/dist/stream-BAjVneSg.d.mts.map +0 -1
  39. package/dist/stream-DUNsytJU.d.cts.map +0 -1
  40. package/dist/utils-5jD8F3OE.mjs.map +0 -1
  41. package/dist/utils-BRn3Iff5.d.mts.map +0 -1
  42. package/dist/utils-D6RPYBhs.d.cts.map +0 -1
  43. package/dist/utils-bsZVduQi.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { n as IStream } from "./stream-DUNsytJU.cjs";
1
+ import { n as IStream } from "./stream-lxenNA3s.cjs";
2
2
  import { Readable, Writable } from "node:stream";
3
3
  import { Context, Meter as Meter$1, Span, SpanKind, SpanStatusCode, Tracer } from "@opentelemetry/api";
4
4
  import { Logger, SeverityNumber } from "@opentelemetry/api-logs";
@@ -16,7 +16,7 @@ declare enum MessageType {
16
16
  UnregisterTrigger = "unregistertrigger",
17
17
  UnregisterTriggerType = "unregistertriggertype",
18
18
  TriggerRegistrationResult = "triggerregistrationresult",
19
- WorkerRegistered = "workerregistered",
19
+ WorkerRegistered = "workerregistered"
20
20
  }
21
21
  type RegisterTriggerTypeMessage = {
22
22
  message_type: MessageType.RegisterTriggerType;
@@ -60,19 +60,17 @@ type HttpAuthConfig = {
60
60
  * Workers, etc.) instead of a local handler.
61
61
  */
62
62
  type HttpInvocationConfig = {
63
- /** URL to invoke. */
64
- url: string;
65
- /** HTTP method. Defaults to `POST`. */
66
- method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
67
- /** Timeout in milliseconds. */
68
- timeout_ms?: number;
69
- /** Custom headers to send with the request. */
70
- headers?: Record<string, string>;
71
- /** Authentication configuration. */
63
+ /** URL to invoke. */url: string; /** HTTP method. Defaults to `POST`. */
64
+ method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'; /** Timeout in milliseconds. */
65
+ timeout_ms?: number; /** Custom headers to send with the request. */
66
+ headers?: Record<string, string>; /** Authentication configuration. */
72
67
  auth?: HttpAuthConfig;
73
68
  };
74
69
  type RegisterFunctionFormat = {
75
- name: string;
70
+ /**
71
+ * The name of the parameter
72
+ */
73
+ name?: string;
76
74
  /**
77
75
  * The description of the parameter
78
76
  */
@@ -84,7 +82,7 @@ type RegisterFunctionFormat = {
84
82
  /**
85
83
  * The body of the parameter
86
84
  */
87
- body?: RegisterFunctionFormat[];
85
+ properties?: Record<string, RegisterFunctionFormat>;
88
86
  /**
89
87
  * The items of the parameter
90
88
  */
@@ -92,7 +90,7 @@ type RegisterFunctionFormat = {
92
90
  /**
93
91
  * Whether the parameter is required
94
92
  */
95
- required?: boolean;
93
+ required?: string[];
96
94
  };
97
95
  type RegisterFunctionMessage = {
98
96
  message_type: MessageType.RegisterFunction;
@@ -135,8 +133,7 @@ type TriggerAction = {
135
133
  * Result returned when a function is invoked with `TriggerAction.Enqueue`.
136
134
  */
137
135
  type EnqueueResult = {
138
- /** Unique receipt ID for the enqueued message. */
139
- messageReceiptId: string;
136
+ /** Unique receipt ID for the enqueued message. */messageReceiptId: string;
140
137
  };
141
138
  /**
142
139
  * Request object passed to {@link ISdk.trigger}.
@@ -144,41 +141,28 @@ type EnqueueResult = {
144
141
  * @typeParam TInput - Type of the payload.
145
142
  */
146
143
  type TriggerRequest<TInput = unknown> = {
147
- /** ID of the function to invoke. */
148
- function_id: string;
149
- /** Payload to pass to the function. */
150
- payload: TInput;
151
- /** Routing action. Omit for synchronous request/response. */
152
- action?: TriggerAction;
153
- /** Override the default invocation timeout in milliseconds. */
144
+ /** ID of the function to invoke. */function_id: string; /** Payload to pass to the function. */
145
+ payload: TInput; /** Routing action. Omit for synchronous request/response. */
146
+ action?: TriggerAction; /** Override the default invocation timeout in milliseconds. */
154
147
  timeoutMs?: number;
155
148
  };
156
149
  /**
157
150
  * Metadata about a registered function, returned by `ISdk.listFunctions`.
158
151
  */
159
152
  type FunctionInfo = {
160
- /** Unique function identifier. */
161
- function_id: string;
162
- /** Human-readable description. */
163
- description?: string;
164
- /** Schema describing expected request format. */
165
- request_format?: RegisterFunctionFormat;
166
- /** Schema describing expected response format. */
167
- response_format?: RegisterFunctionFormat;
168
- /** Arbitrary metadata attached to the function. */
153
+ /** Unique function identifier. */function_id: string; /** Human-readable description. */
154
+ description?: string; /** Schema describing expected request format. */
155
+ request_format?: RegisterFunctionFormat; /** Schema describing expected response format. */
156
+ response_format?: RegisterFunctionFormat; /** Arbitrary metadata attached to the function. */
169
157
  metadata?: Record<string, unknown>;
170
158
  };
171
159
  /**
172
160
  * Information about a registered trigger.
173
161
  */
174
162
  type TriggerInfo = {
175
- /** Unique trigger identifier. */
176
- id: string;
177
- /** Type of the trigger (e.g. `http`, `cron`, `queue`). */
178
- trigger_type: string;
179
- /** ID of the function this trigger is bound to. */
180
- function_id: string;
181
- /** Trigger-specific configuration. */
163
+ /** Unique trigger identifier. */id: string; /** Type of the trigger (e.g. `http`, `cron`, `queue`). */
164
+ trigger_type: string; /** ID of the function this trigger is bound to. */
165
+ function_id: string; /** Trigger-specific configuration. */
182
166
  config?: unknown;
183
167
  };
184
168
  /** Worker connection status. */
@@ -187,27 +171,16 @@ type WorkerStatus = 'connected' | 'available' | 'busy' | 'disconnected';
187
171
  * Metadata about a connected worker, returned by `ISdk.listWorkers`.
188
172
  */
189
173
  type WorkerInfo = {
190
- /** Unique worker identifier assigned by the engine. */
191
- id: string;
192
- /** Display name of the worker. */
193
- name?: string;
194
- /** Runtime environment (e.g. `node`, `python`, `rust`). */
195
- runtime?: string;
196
- /** SDK version. */
197
- version?: string;
198
- /** Operating system info. */
199
- os?: string;
200
- /** IP address of the worker. */
201
- ip_address?: string;
202
- /** Current connection status. */
203
- status: WorkerStatus;
204
- /** Timestamp (ms since epoch) when the worker connected. */
205
- connected_at_ms: number;
206
- /** Number of functions registered by this worker. */
207
- function_count: number;
208
- /** List of function IDs registered by this worker. */
209
- functions: string[];
210
- /** Number of currently active invocations. */
174
+ /** Unique worker identifier assigned by the engine. */id: string; /** Display name of the worker. */
175
+ name?: string; /** Runtime environment (e.g. `node`, `python`, `rust`). */
176
+ runtime?: string; /** SDK version. */
177
+ version?: string; /** Operating system info. */
178
+ os?: string; /** IP address of the worker. */
179
+ ip_address?: string; /** Current connection status. */
180
+ status: WorkerStatus; /** Timestamp (ms since epoch) when the worker connected. */
181
+ connected_at_ms: number; /** Number of functions registered by this worker. */
182
+ function_count: number; /** List of function IDs registered by this worker. */
183
+ functions: string[]; /** Number of currently active invocations. */
211
184
  active_invocations: number;
212
185
  };
213
186
  /**
@@ -215,11 +188,8 @@ type WorkerInfo = {
215
188
  * in invocation payloads to pass channel endpoints between workers.
216
189
  */
217
190
  type StreamChannelRef = {
218
- /** Unique channel identifier. */
219
- channel_id: string;
220
- /** Access key for authentication. */
221
- access_key: string;
222
- /** Whether this ref is for reading or writing. */
191
+ /** Unique channel identifier. */channel_id: string; /** Access key for authentication. */
192
+ access_key: string; /** Whether this ref is for reading or writing. */
223
193
  direction: 'read' | 'write';
224
194
  };
225
195
  //#endregion
@@ -459,11 +429,8 @@ declare function withSpan<T>(name: string, options: {
459
429
  * @typeParam TConfig - Type of the trigger-specific configuration.
460
430
  */
461
431
  type TriggerConfig<TConfig> = {
462
- /** Trigger instance ID. */
463
- id: string;
464
- /** Function to invoke when the trigger fires. */
465
- function_id: string;
466
- /** Trigger-specific configuration. */
432
+ /** Trigger instance ID. */id: string; /** Function to invoke when the trigger fires. */
433
+ function_id: string; /** Trigger-specific configuration. */
467
434
  config: TConfig;
468
435
  };
469
436
  /**
@@ -485,9 +452,7 @@ type TriggerConfig<TConfig> = {
485
452
  * ```
486
453
  */
487
454
  type TriggerHandler<TConfig> = {
488
- /** Called when a trigger instance is registered. */
489
- registerTrigger(config: TriggerConfig<TConfig>): Promise<void>;
490
- /** Called when a trigger instance is unregistered. */
455
+ /** Called when a trigger instance is registered. */registerTrigger(config: TriggerConfig<TConfig>): Promise<void>; /** Called when a trigger instance is unregistered. */
491
456
  unregisterTrigger(config: TriggerConfig<TConfig>): Promise<void>;
492
457
  };
493
458
  //#endregion
@@ -508,29 +473,17 @@ type TriggerHandler<TConfig> = {
508
473
  type RemoteFunctionHandler<TInput = any, TOutput = any> = (data: TInput) => Promise<TOutput>;
509
474
  /** OTEL Log Event from the engine */
510
475
  type OtelLogEvent = {
511
- /** Timestamp in Unix nanoseconds */
512
- timestamp_unix_nano: number;
513
- /** Observed timestamp in Unix nanoseconds */
514
- observed_timestamp_unix_nano: number;
515
- /** OTEL severity number (1-24): TRACE=1-4, DEBUG=5-8, INFO=9-12, WARN=13-16, ERROR=17-20, FATAL=21-24 */
516
- severity_number: number;
517
- /** Severity text (e.g., "INFO", "WARN", "ERROR") */
518
- severity_text: string;
519
- /** Log message body */
520
- body: string;
521
- /** Structured attributes */
522
- attributes: Record<string, unknown>;
523
- /** Trace ID for correlation (if available) */
524
- trace_id?: string;
525
- /** Span ID for correlation (if available) */
526
- span_id?: string;
527
- /** Resource attributes from the emitting service */
528
- resource: Record<string, string>;
529
- /** Service name that emitted the log */
530
- service_name: string;
531
- /** Instrumentation scope name (if available) */
532
- instrumentation_scope_name?: string;
533
- /** Instrumentation scope version (if available) */
476
+ /** Timestamp in Unix nanoseconds */timestamp_unix_nano: number; /** Observed timestamp in Unix nanoseconds */
477
+ observed_timestamp_unix_nano: number; /** OTEL severity number (1-24): TRACE=1-4, DEBUG=5-8, INFO=9-12, WARN=13-16, ERROR=17-20, FATAL=21-24 */
478
+ severity_number: number; /** Severity text (e.g., "INFO", "WARN", "ERROR") */
479
+ severity_text: string; /** Log message body */
480
+ body: string; /** Structured attributes */
481
+ attributes: Record<string, unknown>; /** Trace ID for correlation (if available) */
482
+ trace_id?: string; /** Span ID for correlation (if available) */
483
+ span_id?: string; /** Resource attributes from the emitting service */
484
+ resource: Record<string, string>; /** Service name that emitted the log */
485
+ service_name: string; /** Instrumentation scope name (if available) */
486
+ instrumentation_scope_name?: string; /** Instrumentation scope version (if available) */
534
487
  instrumentation_scope_version?: string;
535
488
  };
536
489
  type RegisterTriggerInput = Omit<RegisterTriggerMessage, 'message_type' | 'id'>;
@@ -779,17 +732,14 @@ interface ISdk {
779
732
  * remove the trigger from the engine.
780
733
  */
781
734
  type Trigger = {
782
- /** Removes this trigger from the engine. */
783
- unregister(): void;
735
+ /** Removes this trigger from the engine. */unregister(): void;
784
736
  };
785
737
  /**
786
738
  * Handle returned by {@link ISdk.registerFunction}. Contains the function's
787
739
  * `id` and an `unregister()` method.
788
740
  */
789
741
  type FunctionRef = {
790
- /** The unique function identifier. */
791
- id: string;
792
- /** Removes this function from the engine. */
742
+ /** The unique function identifier. */id: string; /** Removes this function from the engine. */
793
743
  unregister: () => void;
794
744
  };
795
745
  /**
@@ -797,13 +747,9 @@ type FunctionRef = {
797
747
  * {@link ISdk.createChannel}.
798
748
  */
799
749
  type Channel = {
800
- /** Writer end of the channel. */
801
- writer: ChannelWriter;
802
- /** Reader end of the channel. */
803
- reader: ChannelReader;
804
- /** Serializable reference to the writer (can be sent to other workers). */
805
- writerRef: StreamChannelRef;
806
- /** Serializable reference to the reader (can be sent to other workers). */
750
+ /** Writer end of the channel. */writer: ChannelWriter; /** Reader end of the channel. */
751
+ reader: ChannelReader; /** Serializable reference to the writer (can be sent to other workers). */
752
+ writerRef: StreamChannelRef; /** Serializable reference to the reader (can be sent to other workers). */
807
753
  readerRef: StreamChannelRef;
808
754
  };
809
755
  type InternalHttpRequest<TBody = unknown> = {
@@ -821,13 +767,9 @@ type InternalHttpRequest<TBody = unknown> = {
821
767
  * responses, and call `close()` when done.
822
768
  */
823
769
  type HttpResponse = {
824
- /** Set the HTTP status code. */
825
- status: (statusCode: number) => void;
826
- /** Set response headers. */
827
- headers: (headers: Record<string, string>) => void;
828
- /** Writable stream for the response body. */
829
- stream: NodeJS.WritableStream;
830
- /** Close the response. */
770
+ /** Set the HTTP status code. */status: (statusCode: number) => void; /** Set response headers. */
771
+ headers: (headers: Record<string, string>) => void; /** Writable stream for the response body. */
772
+ stream: NodeJS.WritableStream; /** Close the response. */
831
773
  close: () => void;
832
774
  };
833
775
  /**
@@ -858,11 +800,8 @@ type ApiRequest<TBody = unknown> = HttpRequest<TBody>;
858
800
  * ```
859
801
  */
860
802
  type ApiResponse<TStatus extends number = number, TBody = string | Buffer | Record<string, unknown>> = {
861
- /** HTTP status code. */
862
- status_code: TStatus;
863
- /** Response headers. */
864
- headers?: Record<string, string>;
865
- /** Response body. */
803
+ /** HTTP status code. */status_code: TStatus; /** Response headers. */
804
+ headers?: Record<string, string>; /** Response body. */
866
805
  body?: TBody;
867
806
  };
868
807
  //#endregion
@@ -897,4 +836,4 @@ declare function safeStringify(value: unknown): string;
897
836
  declare const http: (callback: (req: HttpRequest, res: HttpResponse) => Promise<void | ApiResponse>) => (req: InternalHttpRequest) => Promise<void | ApiResponse>;
898
837
  //#endregion
899
838
  export { ChannelWriter as $, shutdownOtel as A, injectTraceparent as B, SeverityNumber as C, getMeter as D, getLogger as E, extractContext as F, DEFAULT_BRIDGE_RECONNECTION_CONFIG as G, setBaggageEntry as H, extractTraceparent as I, EngineTriggers as J, DEFAULT_INVOCATION_TIMEOUT_MS as K, getAllBaggage as L, currentSpanId as M, currentTraceId as N, getTracer as O, extractBaggage as P, ChannelReader as Q, getBaggageEntry as R, Meter$1 as S, SpanStatusCode as T, OtelConfig as U, removeBaggageEntry as V, ReconnectionConfig as W, IIIReconnectionConfig as X, IIIConnectionState as Y, LogFunctions as Z, RemoteFunctionHandler as _, Channel as a, RegisterFunctionFormat as at, TriggerHandler as b, HttpRequest as c, RegisterTriggerTypeMessage as ct, InternalHttpRequest as d, TriggerInfo as dt, EnqueueResult as et, OtelLogEvent as f, TriggerRequest as ft, RegisterTriggerTypeInput as g, RegisterTriggerInput as h, ApiResponse as i, MessageType as it, withSpan as j, initOtel as k, HttpResponse as l, StreamChannelRef as lt, RegisterServiceInput as m, WorkerStatus as mt, safeStringify as n, HttpAuthConfig as nt, FunctionRef as o, RegisterFunctionMessage as ot, RegisterFunctionInput as p, WorkerInfo as pt, EngineFunctions as q, ApiRequest as r, HttpInvocationConfig as rt, FunctionsAvailableCallback as s, RegisterTriggerMessage as st, http as t, FunctionInfo as tt, ISdk as u, TriggerAction as ut, Trigger as v, Span as w, Logger as x, TriggerConfig as y, injectBaggage as z };
900
- //# sourceMappingURL=utils-D6RPYBhs.d.cts.map
839
+ //# sourceMappingURL=utils-BvWlFlLq.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils-BvWlFlLq.d.cts","names":[],"sources":["../src/iii-types.ts","../src/channels.ts","../src/iii-constants.ts","../src/telemetry-system/types.ts","../src/telemetry-system/context.ts","../src/telemetry-system/index.ts","../src/triggers.ts","../src/types.ts","../src/utils.ts"],"mappings":";;;;;;;aAAY,WAAA;EACV,gBAAA;EACA,kBAAA;EACA,eAAA;EACA,cAAA;EACA,gBAAA;EACA,mBAAA;EACA,eAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;EACA,gBAAA;AAAA;AAAA,KAGU,0BAAA;EACV,YAAA,EAAc,WAAA,CAAY,mBAAA;EAC1B,EAAA;EACA,WAAA;AAAA;AAAA,KAuBU,sBAAA;EACV,YAAA,EAAc,WAAA,CAAY,eAAA;EAC1B,EAAA;EACA,IAAA;EACA,WAAA;EACA,MAAA;AAAA;AAAA,KAGU,sBAAA;EACV,YAAA,EAAc,WAAA,CAAY,eAAA;EAC1B,EAAA;EACA,IAAA;EACA,WAAA;EACA,iBAAA;AAAA;;;;;;;;KAUU,cAAA;EACN,IAAA;EAAc,UAAA;AAAA;EACd,IAAA;EAAgB,SAAA;AAAA;EAChB,IAAA;EAAiB,MAAA;EAAgB,SAAA;AAAA;;;;;KAM3B,oBAAA;EANoC,qBAQ9C,GAAA,UAFU;EAIV,MAAA;EAEA,UAAA,WAJA;EAMA,OAAA,GAAU,MAAA,kBAFV;EAIA,IAAA,GAAO,cAAA;AAAA;AAAA,KAGG,sBAAA;EAHH;;;EAOP,IAAA;EAJgC;;;EAQh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