@codemation/eventbus-redis 0.0.31 → 0.0.33
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 +14 -0
- package/dist/index.d.ts +33 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @codemation/eventbus-redis
|
|
2
2
|
|
|
3
|
+
## 0.0.33
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`ed75183`](https://github.com/MadeRelevant/codemation/commit/ed75183f51ae71b06aa2e57ae4fc48ce9db2e4ce)]:
|
|
8
|
+
- @codemation/core@1.0.1
|
|
9
|
+
|
|
10
|
+
## 0.0.32
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`640e303`](https://github.com/MadeRelevant/codemation/commit/640e3032b1386568df725980a27761b6e230302c), [`640e303`](https://github.com/MadeRelevant/codemation/commit/640e3032b1386568df725980a27761b6e230302c)]:
|
|
15
|
+
- @codemation/core@1.0.0
|
|
16
|
+
|
|
3
17
|
## 0.0.31
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -118,6 +118,12 @@ interface ConnectionInvocationRecord {
|
|
|
118
118
|
readonly startedAt?: string;
|
|
119
119
|
readonly finishedAt?: string;
|
|
120
120
|
readonly updatedAt: string;
|
|
121
|
+
/** Per-item iteration id minted by the engine when this invocation occurred inside a runnable node's per-item loop. */
|
|
122
|
+
readonly iterationId?: NodeIterationId;
|
|
123
|
+
/** Item index (0-based) of the iteration that produced this invocation. */
|
|
124
|
+
readonly itemIndex?: number;
|
|
125
|
+
/** When set, this invocation was produced inside a sub-agent triggered by the named parent invocation. */
|
|
126
|
+
readonly parentInvocationId?: ConnectionInvocationId;
|
|
121
127
|
}
|
|
122
128
|
type RunStatus = "running" | "pending" | "completed" | "failed";
|
|
123
129
|
interface PendingNodeExecution {
|
|
@@ -200,6 +206,27 @@ type RunEvent = Readonly<{
|
|
|
200
206
|
parent?: ParentExecutionRef;
|
|
201
207
|
at: string;
|
|
202
208
|
snapshot: NodeExecutionSnapshot;
|
|
209
|
+
}> | Readonly<{
|
|
210
|
+
kind: "connectionInvocationStarted";
|
|
211
|
+
runId: RunId;
|
|
212
|
+
workflowId: WorkflowId;
|
|
213
|
+
parent?: ParentExecutionRef;
|
|
214
|
+
at: string;
|
|
215
|
+
record: ConnectionInvocationRecord;
|
|
216
|
+
}> | Readonly<{
|
|
217
|
+
kind: "connectionInvocationCompleted";
|
|
218
|
+
runId: RunId;
|
|
219
|
+
workflowId: WorkflowId;
|
|
220
|
+
parent?: ParentExecutionRef;
|
|
221
|
+
at: string;
|
|
222
|
+
record: ConnectionInvocationRecord;
|
|
223
|
+
}> | Readonly<{
|
|
224
|
+
kind: "connectionInvocationFailed";
|
|
225
|
+
runId: RunId;
|
|
226
|
+
workflowId: WorkflowId;
|
|
227
|
+
parent?: ParentExecutionRef;
|
|
228
|
+
at: string;
|
|
229
|
+
record: ConnectionInvocationRecord;
|
|
203
230
|
}>;
|
|
204
231
|
interface RunEventSubscription {
|
|
205
232
|
close(): Promise<void>;
|
|
@@ -276,6 +303,12 @@ type Items<TJson = unknown> = ReadonlyArray<Item<TJson>>;
|
|
|
276
303
|
type NodeOutputs = Partial<Record<OutputPortKey, Items>>;
|
|
277
304
|
type RunId = string;
|
|
278
305
|
type NodeActivationId = string;
|
|
306
|
+
/**
|
|
307
|
+
* One per-item iteration of a runnable node's execute loop. Refines `NodeActivationId` for
|
|
308
|
+
* per-item connection invocations and telemetry. Undefined when the executing node is a batch
|
|
309
|
+
* node or trigger that does not iterate items.
|
|
310
|
+
*/
|
|
311
|
+
type NodeIterationId = string;
|
|
279
312
|
interface ParentExecutionRef {
|
|
280
313
|
runId: RunId;
|
|
281
314
|
workflowId: WorkflowId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemation/eventbus-redis",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"ioredis": "^5.7.0",
|
|
32
|
-
"@codemation/core": "0.
|
|
32
|
+
"@codemation/core": "1.0.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^25.3.5",
|