ai-workflow-logic 0.1.6 → 0.1.8
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/package.json +3 -3
- package/src/index.ts +2 -2
- package/src/step-extension.ts +3 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-workflow-logic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "AI workflow domain projections and pure runtime helpers with an explicit Halfcode filesystem adapter",
|
|
6
6
|
"type": "module",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"./run-freeze": "./src/run-freeze.ts"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"ai-workflow-contract": "0.1.
|
|
16
|
+
"ai-workflow-contract": "0.1.7",
|
|
17
17
|
"flow-step-space-contract": "0.1.1",
|
|
18
18
|
"flow-step-space-logic": "0.1.1",
|
|
19
19
|
"halfcode-compiler.xnl": "0.2.2",
|
|
20
20
|
"work-ctrl-flow-contract": "0.1.3",
|
|
21
|
-
"work-ctrl-flow-logic": "0.1.
|
|
21
|
+
"work-ctrl-flow-logic": "0.1.4"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"src"
|
package/src/index.ts
CHANGED
|
@@ -81,9 +81,9 @@ export { mutateRunStepExtension } from './step-extension.js';
|
|
|
81
81
|
export type {
|
|
82
82
|
RunStepExtensionMutationConfig,
|
|
83
83
|
RunStepExtensionMutationInvocation,
|
|
84
|
-
RunStepExtensionMutationRuntime,
|
|
85
84
|
RunStepExtensionSelector,
|
|
86
|
-
} from '
|
|
85
|
+
} from 'ai-workflow-contract';
|
|
86
|
+
export type { RunStepExtensionMutationRuntime } from './step-extension.js';
|
|
87
87
|
|
|
88
88
|
export class AIWorkflowEffectHandlerNotFoundError extends AIWorkflowFoundationError {
|
|
89
89
|
constructor(
|
package/src/step-extension.ts
CHANGED
|
@@ -2,6 +2,9 @@ import type {
|
|
|
2
2
|
FlowClosedValue,
|
|
3
3
|
FlowRunCheckpointRuntime,
|
|
4
4
|
FlowRunStepExtensions,
|
|
5
|
+
RunStepExtensionMutationConfig,
|
|
6
|
+
RunStepExtensionMutationInvocation,
|
|
7
|
+
RunStepExtensionSelector,
|
|
5
8
|
} from 'ai-workflow-contract';
|
|
6
9
|
import type { DefinitionStepExtensionCodecRegistryPort } from 'flow-step-space-contract';
|
|
7
10
|
import {
|
|
@@ -15,20 +18,6 @@ export interface RunStepExtensionMutationRuntime extends FlowRunCheckpointRuntim
|
|
|
15
18
|
readonly extensionCodecs: DefinitionStepExtensionCodecRegistryPort;
|
|
16
19
|
}
|
|
17
20
|
|
|
18
|
-
export interface RunStepExtensionSelector {
|
|
19
|
-
readonly instanceId: string;
|
|
20
|
-
readonly runId: string;
|
|
21
|
-
readonly stepId: string;
|
|
22
|
-
readonly kind: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface RunStepExtensionMutationInvocation {
|
|
26
|
-
readonly expectedRevision: number;
|
|
27
|
-
readonly value: FlowClosedValue;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface RunStepExtensionMutationConfig {}
|
|
31
|
-
|
|
32
21
|
/** Targeted Processor: output = fn(runtime, selector, invocation, config). */
|
|
33
22
|
export async function mutateRunStepExtension(
|
|
34
23
|
runtime: RunStepExtensionMutationRuntime,
|