@haibun/core 4.0.0-alpha.2 → 4.0.0-alpha.3
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/build/currentVersion.d.ts +1 -1
- package/build/currentVersion.js +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/kireji/converter.d.ts +2 -2
- package/build/kireji/converter.d.ts.map +1 -1
- package/build/kireji/converter.js +12 -9
- package/build/kireji/converter.js.map +1 -1
- package/build/kireji/withAction.d.ts +16 -4
- package/build/kireji/withAction.d.ts.map +1 -1
- package/build/kireji/withAction.js +40 -11
- package/build/kireji/withAction.js.map +1 -1
- package/build/lib/EventLogger.d.ts +5 -5
- package/build/lib/EventLogger.d.ts.map +1 -1
- package/build/lib/EventLogger.js +39 -37
- package/build/lib/EventLogger.js.map +1 -1
- package/build/lib/PhaseRunner.d.ts +3 -3
- package/build/lib/PhaseRunner.d.ts.map +1 -1
- package/build/lib/PhaseRunner.js +7 -5
- package/build/lib/PhaseRunner.js.map +1 -1
- package/build/lib/astepper.d.ts +90 -13
- package/build/lib/astepper.d.ts.map +1 -1
- package/build/lib/astepper.js +35 -6
- package/build/lib/astepper.js.map +1 -1
- package/build/lib/base-prompt-manager.d.ts +1 -1
- package/build/lib/base-prompt-manager.d.ts.map +1 -1
- package/build/lib/base-prompt-manager.js.map +1 -1
- package/build/lib/capture-locator.d.ts +1 -1
- package/build/lib/capture-locator.d.ts.map +1 -1
- package/build/lib/capture-locator.js +5 -5
- package/build/lib/capture-locator.js.map +1 -1
- package/build/lib/core/flow-runner.d.ts +8 -7
- package/build/lib/core/flow-runner.d.ts.map +1 -1
- package/build/lib/core/flow-runner.js +42 -71
- package/build/lib/core/flow-runner.js.map +1 -1
- package/build/lib/core-domains.d.ts +2 -2
- package/build/lib/core-domains.d.ts.map +1 -1
- package/build/lib/core-domains.js +17 -18
- package/build/lib/core-domains.js.map +1 -1
- package/build/lib/defs.d.ts +2 -13
- package/build/lib/defs.d.ts.map +1 -1
- package/build/lib/defs.js.map +1 -1
- package/build/lib/document-content.d.ts +18 -0
- package/build/lib/document-content.d.ts.map +1 -0
- package/build/lib/document-content.js +158 -0
- package/build/lib/document-content.js.map +1 -0
- package/build/lib/domains.d.ts +31 -0
- package/build/lib/domains.d.ts.map +1 -0
- package/build/lib/domains.js +105 -0
- package/build/lib/domains.js.map +1 -0
- package/build/lib/execution.d.ts +304 -0
- package/build/lib/execution.d.ts.map +1 -0
- package/build/lib/execution.js +23 -0
- package/build/lib/execution.js.map +1 -0
- package/build/lib/feature-variables.d.ts +21 -50
- package/build/lib/feature-variables.d.ts.map +1 -1
- package/build/lib/feature-variables.js +122 -232
- package/build/lib/feature-variables.js.map +1 -1
- package/build/lib/features.d.ts +2 -2
- package/build/lib/features.d.ts.map +1 -1
- package/build/lib/features.js +13 -17
- package/build/lib/features.js.map +1 -1
- package/build/lib/fixme.d.ts.map +1 -1
- package/build/lib/host-id.d.ts +44 -0
- package/build/lib/host-id.d.ts.map +1 -0
- package/build/lib/host-id.js +51 -0
- package/build/lib/host-id.js.map +1 -0
- package/build/lib/http-observations.d.ts +15 -2
- package/build/lib/http-observations.d.ts.map +1 -1
- package/build/lib/http-observations.js +40 -23
- package/build/lib/http-observations.js.map +1 -1
- package/build/lib/hypermedia.d.ts +62 -0
- package/build/lib/hypermedia.d.ts.map +1 -0
- package/build/lib/hypermedia.js +228 -0
- package/build/lib/hypermedia.js.map +1 -0
- package/build/lib/namedVars.d.ts +2 -2
- package/build/lib/namedVars.d.ts.map +1 -1
- package/build/lib/namedVars.js +25 -30
- package/build/lib/namedVars.js.map +1 -1
- package/build/lib/node-http-events.d.ts +3 -3
- package/build/lib/node-http-events.d.ts.map +1 -1
- package/build/lib/node-http-events.js +26 -26
- package/build/lib/node-http-events.js.map +1 -1
- package/build/lib/populateActionArgs.d.ts +4 -4
- package/build/lib/populateActionArgs.d.ts.map +1 -1
- package/build/lib/populateActionArgs.js +4 -6
- package/build/lib/populateActionArgs.js.map +1 -1
- package/build/lib/prompter.d.ts.map +1 -1
- package/build/lib/prompter.js +10 -7
- package/build/lib/prompter.js.map +1 -1
- package/build/lib/quad-store.d.ts +34 -10
- package/build/lib/quad-store.d.ts.map +1 -1
- package/build/lib/quad-store.js +169 -21
- package/build/lib/quad-store.js.map +1 -1
- package/build/lib/quad-types.d.ts +80 -9
- package/build/lib/quad-types.d.ts.map +1 -1
- package/build/lib/quad-types.js +46 -2
- package/build/lib/quad-types.js.map +1 -1
- package/build/lib/readline-prompter.d.ts +1 -1
- package/build/lib/readline-prompter.js +4 -4
- package/build/lib/remote-stepper-proxy.d.ts +56 -0
- package/build/lib/remote-stepper-proxy.d.ts.map +1 -0
- package/build/lib/remote-stepper-proxy.js +123 -0
- package/build/lib/remote-stepper-proxy.js.map +1 -0
- package/build/lib/resolver-features.d.ts +1 -1
- package/build/lib/resolver-features.d.ts.map +1 -1
- package/build/lib/resolver-features.js +2 -2
- package/build/lib/resolver-features.js.map +1 -1
- package/build/lib/resources.d.ts +461 -0
- package/build/lib/resources.d.ts.map +1 -0
- package/build/lib/resources.js +249 -0
- package/build/lib/resources.js.map +1 -0
- package/build/lib/rpc-client.d.ts +68 -0
- package/build/lib/rpc-client.d.ts.map +1 -0
- package/build/lib/rpc-client.js +186 -0
- package/build/lib/rpc-client.js.map +1 -0
- package/build/lib/sse-subscriber.d.ts +57 -0
- package/build/lib/sse-subscriber.d.ts.map +1 -0
- package/build/lib/sse-subscriber.js +110 -0
- package/build/lib/sse-subscriber.js.map +1 -0
- package/build/lib/step-dispatch.d.ts +92 -28
- package/build/lib/step-dispatch.d.ts.map +1 -1
- package/build/lib/step-dispatch.js +331 -75
- package/build/lib/step-dispatch.js.map +1 -1
- package/build/lib/step-validation.d.ts +3 -3
- package/build/lib/step-validation.d.ts.map +1 -1
- package/build/lib/step-validation.js +2 -2
- package/build/lib/step-validation.js.map +1 -1
- package/build/lib/stepper-cycles.d.ts +5 -0
- package/build/lib/stepper-cycles.d.ts.map +1 -0
- package/build/lib/stepper-cycles.js +31 -0
- package/build/lib/stepper-cycles.js.map +1 -0
- package/build/lib/stepper-registry.d.ts +6 -3
- package/build/lib/stepper-registry.d.ts.map +1 -1
- package/build/lib/stepper-registry.js +9 -8
- package/build/lib/stepper-registry.js.map +1 -1
- package/build/lib/subprocess-runner.d.ts +35 -0
- package/build/lib/subprocess-runner.d.ts.map +1 -0
- package/build/lib/subprocess-runner.js +60 -0
- package/build/lib/subprocess-runner.js.map +1 -0
- package/build/lib/subprocess-transport.d.ts +37 -0
- package/build/lib/subprocess-transport.d.ts.map +1 -0
- package/build/lib/subprocess-transport.js +113 -0
- package/build/lib/subprocess-transport.js.map +1 -0
- package/build/lib/test/EventCollectorStepper.d.ts +3 -3
- package/build/lib/test/EventCollectorStepper.d.ts.map +1 -1
- package/build/lib/test/EventCollectorStepper.js +3 -3
- package/build/lib/test/EventCollectorStepper.js.map +1 -1
- package/build/lib/test/SetTimeStepper.d.ts +3 -3
- package/build/lib/test/SetTimeStepper.d.ts.map +1 -1
- package/build/lib/test/SetTimeStepper.js +7 -7
- package/build/lib/test/SetTimeStepper.js.map +1 -1
- package/build/lib/test/TestSteps.d.ts +7 -7
- package/build/lib/test/TestSteps.d.ts.map +1 -1
- package/build/lib/test/TestSteps.js +7 -7
- package/build/lib/test/TestSteps.js.map +1 -1
- package/build/lib/test/TestStepsWithOptions.d.ts +6 -6
- package/build/lib/test/TestStepsWithOptions.js +7 -7
- package/build/lib/test/lib.d.ts +3 -3
- package/build/lib/test/lib.d.ts.map +1 -1
- package/build/lib/test/lib.js +27 -21
- package/build/lib/test/lib.js.map +1 -1
- package/build/lib/test/resolvedTestFeatures.d.ts +6 -6
- package/build/lib/test/resolvedTestFeatures.d.ts.map +1 -1
- package/build/lib/test/resolvedTestFeatures.js +5 -5
- package/build/lib/test/subprocess-fixture.d.ts +8 -0
- package/build/lib/test/subprocess-fixture.d.ts.map +1 -0
- package/build/lib/test/subprocess-fixture.js +27 -0
- package/build/lib/test/subprocess-fixture.js.map +1 -0
- package/build/lib/ttag.d.ts +7 -1
- package/build/lib/ttag.d.ts.map +1 -1
- package/build/lib/ttag.js +5 -4
- package/build/lib/ttag.js.map +1 -1
- package/build/lib/util/dot-path.d.ts +2 -2
- package/build/lib/util/dot-path.d.ts.map +1 -1
- package/build/lib/util/dot-path.js +8 -7
- package/build/lib/util/dot-path.js.map +1 -1
- package/build/lib/util/index.d.ts +10 -24
- package/build/lib/util/index.d.ts.map +1 -1
- package/build/lib/util/index.js +43 -93
- package/build/lib/util/index.js.map +1 -1
- package/build/lib/util/node/actualURI.d.ts +4 -0
- package/build/lib/util/node/actualURI.d.ts.map +1 -0
- package/build/lib/util/node/actualURI.js +10 -0
- package/build/lib/util/node/actualURI.js.map +1 -0
- package/build/lib/util/node/module-loader.d.ts +14 -0
- package/build/lib/util/node/module-loader.d.ts.map +1 -0
- package/build/lib/util/node/module-loader.js +51 -0
- package/build/lib/util/node/module-loader.js.map +1 -0
- package/build/lib/util/node/workspace-lib.d.ts +15 -0
- package/build/lib/util/node/workspace-lib.d.ts.map +1 -0
- package/build/lib/util/node/workspace-lib.js +119 -0
- package/build/lib/util/node/workspace-lib.js.map +1 -0
- package/build/lib/util/secret-utils.d.ts.map +1 -1
- package/build/lib/util/secret-utils.js +2 -2
- package/build/lib/util/secret-utils.js.map +1 -1
- package/build/lib/vertex-crud.d.ts +22 -0
- package/build/lib/vertex-crud.d.ts.map +1 -0
- package/build/lib/vertex-crud.js +73 -0
- package/build/lib/vertex-crud.js.map +1 -0
- package/build/lib/workspace-discovery.d.ts +1 -1
- package/build/lib/workspace-discovery.d.ts.map +1 -1
- package/build/lib/workspace-discovery.js +10 -10
- package/build/lib/workspace-discovery.js.map +1 -1
- package/build/lib/zcap-like-authority.d.ts +38 -0
- package/build/lib/zcap-like-authority.d.ts.map +1 -0
- package/build/lib/zcap-like-authority.js +56 -0
- package/build/lib/zcap-like-authority.js.map +1 -0
- package/build/monitor/index.d.ts +1 -1
- package/build/monitor/index.d.ts.map +1 -1
- package/build/monitor/index.js +1 -1
- package/build/monitor/index.js.map +1 -1
- package/build/phases/Executor.d.ts +31 -7
- package/build/phases/Executor.d.ts.map +1 -1
- package/build/phases/Executor.js +201 -219
- package/build/phases/Executor.js.map +1 -1
- package/build/phases/Resolver.d.ts +2 -2
- package/build/phases/Resolver.d.ts.map +1 -1
- package/build/phases/Resolver.js +35 -30
- package/build/phases/Resolver.js.map +1 -1
- package/build/phases/collector.d.ts +3 -3
- package/build/phases/collector.d.ts.map +1 -1
- package/build/phases/collector.js +19 -17
- package/build/phases/collector.js.map +1 -1
- package/build/run-policy/run-policy-schema.d.ts +3 -5
- package/build/run-policy/run-policy-schema.d.ts.map +1 -1
- package/build/run-policy/run-policy-schema.js +41 -37
- package/build/run-policy/run-policy-schema.js.map +1 -1
- package/build/run-policy/run-policy-types.d.ts +1 -1
- package/build/run-policy/run-policy-types.d.ts.map +1 -1
- package/build/run-policy/run-policy-types.js +19 -16
- package/build/run-policy/run-policy-types.js.map +1 -1
- package/build/runner.d.ts +4 -4
- package/build/runner.d.ts.map +1 -1
- package/build/runner.js +15 -13
- package/build/runner.js.map +1 -1
- package/build/schema/protocol.d.ts +153 -61
- package/build/schema/protocol.d.ts.map +1 -1
- package/build/schema/protocol.js +177 -148
- package/build/schema/protocol.js.map +1 -1
- package/build/steps/activities-stepper.d.ts +13 -13
- package/build/steps/activities-stepper.d.ts.map +1 -1
- package/build/steps/activities-stepper.js +105 -79
- package/build/steps/activities-stepper.js.map +1 -1
- package/build/steps/conformance.d.ts +5 -5
- package/build/steps/conformance.js +4 -4
- package/build/steps/console-monitor-stepper.d.ts +2 -2
- package/build/steps/console-monitor-stepper.d.ts.map +1 -1
- package/build/steps/console-monitor-stepper.js +22 -22
- package/build/steps/console-monitor-stepper.js.map +1 -1
- package/build/steps/debugger-stepper.d.ts +11 -11
- package/build/steps/debugger-stepper.d.ts.map +1 -1
- package/build/steps/debugger-stepper.js +65 -64
- package/build/steps/debugger-stepper.js.map +1 -1
- package/build/steps/finalizer-stepper.d.ts +3 -4
- package/build/steps/finalizer-stepper.d.ts.map +1 -1
- package/build/steps/finalizer-stepper.js +16 -19
- package/build/steps/finalizer-stepper.js.map +1 -1
- package/build/steps/haibun.d.ts +27 -20
- package/build/steps/haibun.d.ts.map +1 -1
- package/build/steps/haibun.js +76 -67
- package/build/steps/haibun.js.map +1 -1
- package/build/steps/lib/tts.d.ts +1 -1
- package/build/steps/lib/tts.d.ts.map +1 -1
- package/build/steps/lib/tts.js +28 -28
- package/build/steps/lib/tts.js.map +1 -1
- package/build/steps/logic-stepper.d.ts +5 -5
- package/build/steps/logic-stepper.d.ts.map +1 -1
- package/build/steps/logic-stepper.js +76 -76
- package/build/steps/logic-stepper.js.map +1 -1
- package/build/steps/narrator.d.ts +9 -9
- package/build/steps/narrator.d.ts.map +1 -1
- package/build/steps/narrator.js +32 -28
- package/build/steps/narrator.js.map +1 -1
- package/build/steps/resources-stepper.d.ts +47 -0
- package/build/steps/resources-stepper.d.ts.map +1 -0
- package/build/steps/resources-stepper.js +100 -0
- package/build/steps/resources-stepper.js.map +1 -0
- package/build/steps/variables-stepper.d.ts +57 -57
- package/build/steps/variables-stepper.d.ts.map +1 -1
- package/build/steps/variables-stepper.js +252 -224
- package/build/steps/variables-stepper.js.map +1 -1
- package/build/steps/zcap-like-stepper.d.ts +50 -0
- package/build/steps/zcap-like-stepper.d.ts.map +1 -0
- package/build/steps/zcap-like-stepper.js +113 -0
- package/build/steps/zcap-like-stepper.js.map +1 -0
- package/package.json +1 -1
- package/build/lib/consts.d.ts +0 -5
- package/build/lib/consts.d.ts.map +0 -1
- package/build/lib/consts.js +0 -5
- package/build/lib/consts.js.map +0 -1
- package/build/lib/step-helpers.d.ts +0 -10
- package/build/lib/step-helpers.d.ts.map +0 -1
- package/build/lib/step-helpers.js +0 -16
- package/build/lib/step-helpers.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { TFeatureStep, TWorld, IStepperCycles } from
|
|
3
|
-
import { TStepArgs, TProvenanceIdentifier, TActionResult } from
|
|
4
|
-
import { AStepper, IHasCycles } from
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { TFeatureStep, TWorld, IStepperCycles } from "../lib/execution.js";
|
|
3
|
+
import { TStepArgs, TProvenanceIdentifier, TActionResult } from "../schema/protocol.js";
|
|
4
|
+
import { AStepper, IHasCycles } from "../lib/astepper.js";
|
|
5
5
|
declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
6
6
|
description: string;
|
|
7
7
|
cycles: IStepperCycles;
|
|
@@ -15,7 +15,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
15
15
|
action: ({ domain, superdomains }: {
|
|
16
16
|
domain: string;
|
|
17
17
|
superdomains: TFeatureStep[];
|
|
18
|
-
}, featureStep: TFeatureStep) =>
|
|
18
|
+
}, featureStep: TFeatureStep) => TActionResult;
|
|
19
19
|
};
|
|
20
20
|
defineOrderedSet: {
|
|
21
21
|
precludes: string[];
|
|
@@ -24,7 +24,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
24
24
|
action: ({ domain, values }: {
|
|
25
25
|
domain: string;
|
|
26
26
|
values: TFeatureStep[];
|
|
27
|
-
}, featureStep: TFeatureStep) =>
|
|
27
|
+
}, featureStep: TFeatureStep) => TActionResult;
|
|
28
28
|
};
|
|
29
29
|
defineValuesSet: {
|
|
30
30
|
gwta: string;
|
|
@@ -32,12 +32,12 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
32
32
|
action: ({ domain, values }: {
|
|
33
33
|
domain: string;
|
|
34
34
|
values: TFeatureStep[];
|
|
35
|
-
}, featureStep: TFeatureStep) =>
|
|
35
|
+
}, featureStep: TFeatureStep) => TActionResult;
|
|
36
36
|
};
|
|
37
37
|
statementSetValues: {
|
|
38
|
-
|
|
38
|
+
exposeMCP: false;
|
|
39
39
|
gwta: string;
|
|
40
|
-
action: () =>
|
|
40
|
+
action: () => TActionResult;
|
|
41
41
|
};
|
|
42
42
|
composeAs: {
|
|
43
43
|
gwta: string;
|
|
@@ -45,12 +45,12 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
45
45
|
precludes: string[];
|
|
46
46
|
action: ({ domain }: {
|
|
47
47
|
domain: string;
|
|
48
|
-
}, featureStep: TFeatureStep) => TActionResult
|
|
48
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
49
49
|
};
|
|
50
50
|
compose: {
|
|
51
51
|
gwta: string;
|
|
52
52
|
handlesUndefined: string[];
|
|
53
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) => TActionResult
|
|
53
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
54
54
|
};
|
|
55
55
|
setFromStatement: {
|
|
56
56
|
gwta: string;
|
|
@@ -58,40 +58,40 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
58
58
|
precludes: string[];
|
|
59
59
|
action: ({ statement }: {
|
|
60
60
|
statement: TFeatureStep[];
|
|
61
|
-
}, featureStep: TFeatureStep) => Promise<
|
|
61
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
62
62
|
};
|
|
63
63
|
increment: {
|
|
64
64
|
gwta: string;
|
|
65
65
|
handlesUndefined: string[];
|
|
66
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) =>
|
|
66
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
67
67
|
};
|
|
68
68
|
showEnv: {
|
|
69
69
|
gwta: string;
|
|
70
|
-
|
|
71
|
-
action: () =>
|
|
70
|
+
exposeMCP: false;
|
|
71
|
+
action: () => TActionResult;
|
|
72
72
|
};
|
|
73
73
|
showVars: {
|
|
74
74
|
gwta: string;
|
|
75
|
-
action: () =>
|
|
75
|
+
action: () => Promise<TActionResult>;
|
|
76
76
|
};
|
|
77
77
|
set: {
|
|
78
78
|
gwta: string;
|
|
79
79
|
handlesUndefined: string[];
|
|
80
80
|
precludes: string[];
|
|
81
|
-
action: (
|
|
81
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
82
82
|
};
|
|
83
83
|
setAs: {
|
|
84
84
|
gwta: string;
|
|
85
85
|
handlesUndefined: string[];
|
|
86
86
|
precludes: string[];
|
|
87
|
-
action: ({
|
|
87
|
+
action: ({ domain }: {
|
|
88
88
|
value: string;
|
|
89
89
|
domain: string;
|
|
90
|
-
}, featureStep: TFeatureStep) => TActionResult
|
|
90
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
91
91
|
};
|
|
92
92
|
unset: {
|
|
93
93
|
gwta: string;
|
|
94
|
-
action: (
|
|
94
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
95
95
|
};
|
|
96
96
|
setRandom: {
|
|
97
97
|
precludes: string[];
|
|
@@ -99,12 +99,12 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
99
99
|
handlesUndefined: string[];
|
|
100
100
|
action: ({ length }: {
|
|
101
101
|
length: number;
|
|
102
|
-
}, featureStep: TFeatureStep) => TActionResult
|
|
102
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
103
103
|
};
|
|
104
104
|
is: {
|
|
105
105
|
gwta: string;
|
|
106
106
|
handlesUndefined: string[];
|
|
107
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) =>
|
|
107
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
108
108
|
};
|
|
109
109
|
isLessThan: {
|
|
110
110
|
gwta: string;
|
|
@@ -113,7 +113,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
113
113
|
action: ({ what, value }: {
|
|
114
114
|
what: string;
|
|
115
115
|
value: string;
|
|
116
|
-
}, featureStep: TFeatureStep) =>
|
|
116
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
117
117
|
};
|
|
118
118
|
isMoreThan: {
|
|
119
119
|
gwta: string;
|
|
@@ -122,12 +122,12 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
122
122
|
action: ({ what, value }: {
|
|
123
123
|
what: string;
|
|
124
124
|
value: string;
|
|
125
|
-
}, featureStep: TFeatureStep) =>
|
|
125
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
126
126
|
};
|
|
127
127
|
exists: {
|
|
128
128
|
gwta: string;
|
|
129
129
|
handlesUndefined: string[];
|
|
130
|
-
action: ({ what }: TStepArgs, featureStep: TFeatureStep) =>
|
|
130
|
+
action: ({ what }: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
131
131
|
};
|
|
132
132
|
showVar: {
|
|
133
133
|
gwta: string;
|
|
@@ -137,28 +137,28 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
137
137
|
value: z.ZodUnknown;
|
|
138
138
|
domain: z.ZodOptional<z.ZodString>;
|
|
139
139
|
}, z.core.$strip>;
|
|
140
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) =>
|
|
140
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
141
141
|
};
|
|
142
142
|
showDomains: {
|
|
143
143
|
gwta: string;
|
|
144
|
-
action: () =>
|
|
144
|
+
action: () => Promise<TActionResult>;
|
|
145
145
|
};
|
|
146
146
|
showDomain: {
|
|
147
147
|
gwta: string;
|
|
148
148
|
handlesUndefined: string[];
|
|
149
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) =>
|
|
149
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
150
150
|
};
|
|
151
151
|
isIn: {
|
|
152
152
|
match: RegExp;
|
|
153
153
|
fallback: true;
|
|
154
|
-
action: (_: unknown, featureStep: TFeatureStep) =>
|
|
154
|
+
action: (_: unknown, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
155
155
|
};
|
|
156
156
|
matches: {
|
|
157
157
|
gwta: string;
|
|
158
158
|
action: ({ value, pattern }: {
|
|
159
159
|
value: string;
|
|
160
160
|
pattern: string;
|
|
161
|
-
}, featureStep: TFeatureStep) =>
|
|
161
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
162
162
|
};
|
|
163
163
|
};
|
|
164
164
|
readonly typedSteps: {
|
|
@@ -168,7 +168,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
168
168
|
action: ({ domain, superdomains }: {
|
|
169
169
|
domain: string;
|
|
170
170
|
superdomains: TFeatureStep[];
|
|
171
|
-
}, featureStep: TFeatureStep) =>
|
|
171
|
+
}, featureStep: TFeatureStep) => TActionResult;
|
|
172
172
|
};
|
|
173
173
|
defineOrderedSet: {
|
|
174
174
|
precludes: string[];
|
|
@@ -177,7 +177,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
177
177
|
action: ({ domain, values }: {
|
|
178
178
|
domain: string;
|
|
179
179
|
values: TFeatureStep[];
|
|
180
|
-
}, featureStep: TFeatureStep) =>
|
|
180
|
+
}, featureStep: TFeatureStep) => TActionResult;
|
|
181
181
|
};
|
|
182
182
|
defineValuesSet: {
|
|
183
183
|
gwta: string;
|
|
@@ -185,12 +185,12 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
185
185
|
action: ({ domain, values }: {
|
|
186
186
|
domain: string;
|
|
187
187
|
values: TFeatureStep[];
|
|
188
|
-
}, featureStep: TFeatureStep) =>
|
|
188
|
+
}, featureStep: TFeatureStep) => TActionResult;
|
|
189
189
|
};
|
|
190
190
|
statementSetValues: {
|
|
191
|
-
|
|
191
|
+
exposeMCP: false;
|
|
192
192
|
gwta: string;
|
|
193
|
-
action: () =>
|
|
193
|
+
action: () => TActionResult;
|
|
194
194
|
};
|
|
195
195
|
composeAs: {
|
|
196
196
|
gwta: string;
|
|
@@ -198,12 +198,12 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
198
198
|
precludes: string[];
|
|
199
199
|
action: ({ domain }: {
|
|
200
200
|
domain: string;
|
|
201
|
-
}, featureStep: TFeatureStep) => TActionResult
|
|
201
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
202
202
|
};
|
|
203
203
|
compose: {
|
|
204
204
|
gwta: string;
|
|
205
205
|
handlesUndefined: string[];
|
|
206
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) => TActionResult
|
|
206
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
207
207
|
};
|
|
208
208
|
setFromStatement: {
|
|
209
209
|
gwta: string;
|
|
@@ -211,40 +211,40 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
211
211
|
precludes: string[];
|
|
212
212
|
action: ({ statement }: {
|
|
213
213
|
statement: TFeatureStep[];
|
|
214
|
-
}, featureStep: TFeatureStep) => Promise<
|
|
214
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
215
215
|
};
|
|
216
216
|
increment: {
|
|
217
217
|
gwta: string;
|
|
218
218
|
handlesUndefined: string[];
|
|
219
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) =>
|
|
219
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
220
220
|
};
|
|
221
221
|
showEnv: {
|
|
222
222
|
gwta: string;
|
|
223
|
-
|
|
224
|
-
action: () =>
|
|
223
|
+
exposeMCP: false;
|
|
224
|
+
action: () => TActionResult;
|
|
225
225
|
};
|
|
226
226
|
showVars: {
|
|
227
227
|
gwta: string;
|
|
228
|
-
action: () =>
|
|
228
|
+
action: () => Promise<TActionResult>;
|
|
229
229
|
};
|
|
230
230
|
set: {
|
|
231
231
|
gwta: string;
|
|
232
232
|
handlesUndefined: string[];
|
|
233
233
|
precludes: string[];
|
|
234
|
-
action: (
|
|
234
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
235
235
|
};
|
|
236
236
|
setAs: {
|
|
237
237
|
gwta: string;
|
|
238
238
|
handlesUndefined: string[];
|
|
239
239
|
precludes: string[];
|
|
240
|
-
action: ({
|
|
240
|
+
action: ({ domain }: {
|
|
241
241
|
value: string;
|
|
242
242
|
domain: string;
|
|
243
|
-
}, featureStep: TFeatureStep) => TActionResult
|
|
243
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
244
244
|
};
|
|
245
245
|
unset: {
|
|
246
246
|
gwta: string;
|
|
247
|
-
action: (
|
|
247
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
248
248
|
};
|
|
249
249
|
setRandom: {
|
|
250
250
|
precludes: string[];
|
|
@@ -252,12 +252,12 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
252
252
|
handlesUndefined: string[];
|
|
253
253
|
action: ({ length }: {
|
|
254
254
|
length: number;
|
|
255
|
-
}, featureStep: TFeatureStep) => TActionResult
|
|
255
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
256
256
|
};
|
|
257
257
|
is: {
|
|
258
258
|
gwta: string;
|
|
259
259
|
handlesUndefined: string[];
|
|
260
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) =>
|
|
260
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
261
261
|
};
|
|
262
262
|
isLessThan: {
|
|
263
263
|
gwta: string;
|
|
@@ -266,7 +266,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
266
266
|
action: ({ what, value }: {
|
|
267
267
|
what: string;
|
|
268
268
|
value: string;
|
|
269
|
-
}, featureStep: TFeatureStep) =>
|
|
269
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
270
270
|
};
|
|
271
271
|
isMoreThan: {
|
|
272
272
|
gwta: string;
|
|
@@ -275,12 +275,12 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
275
275
|
action: ({ what, value }: {
|
|
276
276
|
what: string;
|
|
277
277
|
value: string;
|
|
278
|
-
}, featureStep: TFeatureStep) =>
|
|
278
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
279
279
|
};
|
|
280
280
|
exists: {
|
|
281
281
|
gwta: string;
|
|
282
282
|
handlesUndefined: string[];
|
|
283
|
-
action: ({ what }: TStepArgs, featureStep: TFeatureStep) =>
|
|
283
|
+
action: ({ what }: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
284
284
|
};
|
|
285
285
|
showVar: {
|
|
286
286
|
gwta: string;
|
|
@@ -290,31 +290,31 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
290
290
|
value: z.ZodUnknown;
|
|
291
291
|
domain: z.ZodOptional<z.ZodString>;
|
|
292
292
|
}, z.core.$strip>;
|
|
293
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) =>
|
|
293
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
294
294
|
};
|
|
295
295
|
showDomains: {
|
|
296
296
|
gwta: string;
|
|
297
|
-
action: () =>
|
|
297
|
+
action: () => Promise<TActionResult>;
|
|
298
298
|
};
|
|
299
299
|
showDomain: {
|
|
300
300
|
gwta: string;
|
|
301
301
|
handlesUndefined: string[];
|
|
302
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) =>
|
|
302
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
303
303
|
};
|
|
304
304
|
isIn: {
|
|
305
305
|
match: RegExp;
|
|
306
306
|
fallback: true;
|
|
307
|
-
action: (_: unknown, featureStep: TFeatureStep) =>
|
|
307
|
+
action: (_: unknown, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
308
308
|
};
|
|
309
309
|
matches: {
|
|
310
310
|
gwta: string;
|
|
311
311
|
action: ({ value, pattern }: {
|
|
312
312
|
value: string;
|
|
313
313
|
pattern: string;
|
|
314
|
-
}, featureStep: TFeatureStep) =>
|
|
314
|
+
}, featureStep: TFeatureStep) => Promise<TActionResult>;
|
|
315
315
|
};
|
|
316
316
|
};
|
|
317
|
-
compareValues(featureStep: TFeatureStep, rawTerm: string, value: string, operator: string):
|
|
317
|
+
compareValues(featureStep: TFeatureStep, rawTerm: string, value: string, operator: string): Promise<TActionResult>;
|
|
318
318
|
/**
|
|
319
319
|
* Interpolates a template string by replacing {varName} placeholders with variable values.
|
|
320
320
|
* Returns the interpolated string or an error if a variable is not found.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables-stepper.d.ts","sourceRoot":"","sources":["../../src/steps/variables-stepper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"variables-stepper.d.ts","sourceRoot":"","sources":["../../src/steps/variables-stepper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,cAAc,EAAkB,MAAM,qBAAqB,CAAC;AAC3F,OAAO,EAAM,SAAS,EAAU,qBAAqB,EAAW,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE7G,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAiB,MAAM,oBAAoB,CAAC;AAkBzE,cAAM,gBAAiB,SAAQ,QAAS,YAAW,UAAU;IAC5D,WAAW,SAA0E;IAErF,MAAM,iBAAgB;IACtB,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,OAAO,CAAC,MAAM,CAAc;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE;IAMlD,KAAK;;;;+CAIgC;gBAAE,MAAM,EAAE,MAAM,CAAC;gBAAC,YAAY,EAAE,YAAY,EAAE,CAAA;aAAE,eAAe,YAAY;;;;;;yCAOjF;gBAAE,MAAM,EAAE,MAAM,CAAC;gBAAC,MAAM,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