@nt-ai-lab/deterministic-agent-workflow-dsl 0.1.4 → 0.2.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.
|
@@ -31,5 +31,5 @@ export type RecordingOpsFactory<TStateName extends string, TState extends {
|
|
|
31
31
|
export declare function defineRecordingOps<TStateName extends string, TState extends {
|
|
32
32
|
currentStateMachineState: TStateName;
|
|
33
33
|
}, TOperation extends string>(registry: WorkflowRegistry<TState, TStateName, TOperation>, ops: {
|
|
34
|
-
readonly [K in string]: RecordingOpDefinition<readonly
|
|
34
|
+
readonly [K in string]: RecordingOpDefinition<readonly never[]>;
|
|
35
35
|
}): RecordingOpsFactory<TStateName, TState, TOperation>;
|
|
@@ -28,6 +28,7 @@ export function defineRecordingOps(registry, ops) {
|
|
|
28
28
|
reason: `Unknown recording operation: ${opName}`,
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
+
// @ts-expect-error Runtime args are forwarded to the consumer-defined payload factory unchanged.
|
|
31
32
|
const payload = opDef.payload(...args);
|
|
32
33
|
return {
|
|
33
34
|
pass: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nt-ai-lab/deterministic-agent-workflow-dsl",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dist"
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@nt-ai-lab/deterministic-agent-workflow-engine": "0.
|
|
14
|
+
"@nt-ai-lab/deterministic-agent-workflow-engine": "0.2.0"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public"
|