@haibun/core 3.0.5 → 3.1.1
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 +2 -1
- package/build/lib/EventLogger.d.ts +30 -0
- package/build/lib/EventLogger.d.ts.map +1 -0
- package/build/lib/EventLogger.js +110 -0
- package/build/lib/EventLogger.js.map +1 -0
- package/build/lib/astepper.d.ts +9 -0
- package/build/lib/astepper.d.ts.map +1 -1
- package/build/lib/astepper.js +8 -0
- package/build/lib/astepper.js.map +1 -1
- package/build/lib/core/flow-runner.d.ts +25 -0
- package/build/lib/core/flow-runner.d.ts.map +1 -0
- package/build/lib/core/flow-runner.js +128 -0
- package/build/lib/core/flow-runner.js.map +1 -0
- package/build/lib/core/protocol.d.ts +58 -0
- package/build/lib/core/protocol.d.ts.map +1 -0
- package/build/lib/core/protocol.js +18 -0
- package/build/lib/core/protocol.js.map +1 -0
- package/build/lib/core-domains.d.ts +2 -16
- package/build/lib/core-domains.d.ts.map +1 -1
- package/build/lib/core-domains.js +46 -27
- package/build/lib/core-domains.js.map +1 -1
- package/build/lib/defs.d.ts +31 -6
- package/build/lib/defs.d.ts.map +1 -1
- package/build/lib/defs.js +1 -1
- package/build/lib/defs.js.map +1 -1
- package/build/lib/domain-types.d.ts +12 -1
- package/build/lib/domain-types.d.ts.map +1 -1
- package/build/lib/domain-types.js +63 -3
- package/build/lib/domain-types.js.map +1 -1
- package/build/lib/event-bridge.d.ts +42 -0
- package/build/lib/event-bridge.d.ts.map +1 -0
- package/build/lib/event-bridge.js +214 -0
- package/build/lib/event-bridge.js.map +1 -0
- package/build/lib/feature-variables.d.ts +13 -0
- package/build/lib/feature-variables.d.ts.map +1 -1
- package/build/lib/feature-variables.js +125 -6
- package/build/lib/feature-variables.js.map +1 -1
- package/build/lib/namedVars.d.ts.map +1 -1
- package/build/lib/namedVars.js +18 -10
- package/build/lib/namedVars.js.map +1 -1
- package/build/lib/populateActionArgs.d.ts +1 -1
- package/build/lib/populateActionArgs.d.ts.map +1 -1
- package/build/lib/populateActionArgs.js +11 -49
- package/build/lib/populateActionArgs.js.map +1 -1
- package/build/lib/test/TestSteps.d.ts +1 -0
- package/build/lib/test/TestSteps.d.ts.map +1 -1
- package/build/lib/test/TestStepsWithOptions.d.ts +1 -0
- package/build/lib/test/TestStepsWithOptions.d.ts.map +1 -1
- package/build/lib/test/lib.d.ts.map +1 -1
- package/build/lib/test/lib.js +2 -0
- package/build/lib/test/lib.js.map +1 -1
- package/build/lib/util/actualURI.js +1 -1
- package/build/lib/util/actualURI.js.map +1 -1
- package/build/lib/util/index.d.ts +11 -2
- package/build/lib/util/index.d.ts.map +1 -1
- package/build/lib/util/index.js +46 -2
- package/build/lib/util/index.js.map +1 -1
- package/build/lib/util/variables.d.ts +9 -0
- package/build/lib/util/variables.d.ts.map +1 -0
- package/build/lib/util/variables.js +40 -0
- package/build/lib/util/variables.js.map +1 -0
- package/build/lib/util/workspace-lib.d.ts.map +1 -1
- package/build/lib/util/workspace-lib.js +30 -3
- package/build/lib/util/workspace-lib.js.map +1 -1
- package/build/monitor/browser-stubs.d.ts +12 -0
- package/build/monitor/browser-stubs.d.ts.map +1 -0
- package/build/monitor/browser-stubs.js +20 -0
- package/build/monitor/browser-stubs.js.map +1 -0
- package/build/monitor/constants.d.ts +9 -0
- package/build/monitor/constants.d.ts.map +1 -0
- package/build/monitor/constants.js +9 -0
- package/build/monitor/constants.js.map +1 -0
- package/build/monitor/event-view.d.ts +40 -0
- package/build/monitor/event-view.d.ts.map +1 -0
- package/build/monitor/event-view.js +104 -0
- package/build/monitor/event-view.js.map +1 -0
- package/build/monitor/filters.d.ts +17 -0
- package/build/monitor/filters.d.ts.map +1 -0
- package/build/monitor/filters.js +32 -0
- package/build/monitor/filters.js.map +1 -0
- package/build/monitor/formatters.d.ts +27 -0
- package/build/monitor/formatters.d.ts.map +1 -0
- package/build/monitor/formatters.js +89 -0
- package/build/monitor/formatters.js.map +1 -0
- package/build/monitor/index.d.ts +11 -0
- package/build/monitor/index.d.ts.map +1 -0
- package/build/monitor/index.js +15 -0
- package/build/monitor/index.js.map +1 -0
- package/build/monitor/jit-serialization.d.ts +9 -0
- package/build/monitor/jit-serialization.d.ts.map +1 -0
- package/build/monitor/jit-serialization.js +73 -0
- package/build/monitor/jit-serialization.js.map +1 -0
- package/build/monitor/monitor-types.d.ts +119 -0
- package/build/monitor/monitor-types.d.ts.map +1 -0
- package/build/monitor/monitor-types.js +43 -0
- package/build/monitor/monitor-types.js.map +1 -0
- package/build/monitor/speculative-tracker.d.ts +20 -0
- package/build/monitor/speculative-tracker.d.ts.map +1 -0
- package/build/monitor/speculative-tracker.js +38 -0
- package/build/monitor/speculative-tracker.js.map +1 -0
- package/build/monitor/state.d.ts +31 -0
- package/build/monitor/state.d.ts.map +1 -0
- package/build/monitor/state.js +110 -0
- package/build/monitor/state.js.map +1 -0
- package/build/monitor/timer.d.ts +11 -0
- package/build/monitor/timer.d.ts.map +1 -0
- package/build/monitor/timer.js +13 -0
- package/build/monitor/timer.js.map +1 -0
- package/build/monitor/tree-builder.d.ts +25 -0
- package/build/monitor/tree-builder.d.ts.map +1 -0
- package/build/monitor/tree-builder.js +36 -0
- package/build/monitor/tree-builder.js.map +1 -0
- package/build/phases/Executor.d.ts.map +1 -1
- package/build/phases/Executor.js +93 -22
- package/build/phases/Executor.js.map +1 -1
- package/build/phases/Resolver.d.ts +2 -1
- package/build/phases/Resolver.d.ts.map +1 -1
- package/build/phases/Resolver.js +64 -1
- package/build/phases/Resolver.js.map +1 -1
- package/build/runner.d.ts.map +1 -1
- package/build/runner.js +5 -0
- package/build/runner.js.map +1 -1
- package/build/schema/events.d.ts +426 -0
- package/build/schema/events.d.ts.map +1 -0
- package/build/schema/events.js +123 -0
- package/build/schema/events.js.map +1 -0
- package/build/steps/activities-stepper.d.ts +49 -8
- package/build/steps/activities-stepper.d.ts.map +1 -1
- package/build/steps/activities-stepper.js +277 -141
- package/build/steps/activities-stepper.js.map +1 -1
- package/build/steps/conformance.d.ts +1 -0
- package/build/steps/conformance.d.ts.map +1 -1
- package/build/steps/console-monitor-stepper.d.ts +44 -0
- package/build/steps/console-monitor-stepper.d.ts.map +1 -0
- package/build/steps/console-monitor-stepper.js +107 -0
- package/build/steps/console-monitor-stepper.js.map +1 -0
- package/build/steps/debugger-stepper.d.ts +5 -3
- package/build/steps/debugger-stepper.d.ts.map +1 -1
- package/build/steps/debugger-stepper.js +32 -8
- package/build/steps/debugger-stepper.js.map +1 -1
- package/build/steps/haibun.d.ts +6 -18
- package/build/steps/haibun.d.ts.map +1 -1
- package/build/steps/haibun.js +33 -54
- package/build/steps/haibun.js.map +1 -1
- package/build/steps/logic-stepper.d.ts +42 -0
- package/build/steps/logic-stepper.d.ts.map +1 -0
- package/build/steps/logic-stepper.js +143 -0
- package/build/steps/logic-stepper.js.map +1 -0
- package/build/steps/narrator.js +1 -1
- package/build/steps/narrator.js.map +1 -1
- package/build/steps/parse.d.ts +1 -0
- package/build/steps/parse.d.ts.map +1 -1
- package/build/steps/variables-stepper.d.ts +11 -75
- package/build/steps/variables-stepper.d.ts.map +1 -1
- package/build/steps/variables-stepper.js +527 -85
- package/build/steps/variables-stepper.js.map +1 -1
- package/package.json +16 -3
- package/build/applyEffectFeatures.d.ts +0 -4
- package/build/applyEffectFeatures.d.ts.map +0 -1
- package/build/applyEffectFeatures.js +0 -31
- package/build/applyEffectFeatures.js.map +0 -1
- package/build/jsprolog/converter.d.ts +0 -9
- package/build/jsprolog/converter.d.ts.map +0 -1
- package/build/jsprolog/converter.js +0 -42
- package/build/jsprolog/converter.js.map +0 -1
- package/build/jsprolog/stepper-utils.d.ts +0 -8
- package/build/jsprolog/stepper-utils.d.ts.map +0 -1
- package/build/jsprolog/stepper-utils.js +0 -8
- package/build/jsprolog/stepper-utils.js.map +0 -1
- package/build/jsprolog/test.jsprolog.d.ts +0 -4
- package/build/jsprolog/test.jsprolog.d.ts.map +0 -1
- package/build/jsprolog/test.jsprolog.js +0 -19
- package/build/jsprolog/test.jsprolog.js.map +0 -1
- package/build/jsprolog/test.kireji.d.ts +0 -4
- package/build/jsprolog/test.kireji.d.ts.map +0 -1
- package/build/jsprolog/test.kireji.js +0 -19
- package/build/jsprolog/test.kireji.js.map +0 -1
- package/build/jsprolog/withAction.d.ts +0 -32
- package/build/jsprolog/withAction.d.ts.map +0 -1
- package/build/jsprolog/withAction.js +0 -65
- package/build/jsprolog/withAction.js.map +0 -1
- package/build/kireji/test.kireji.d.ts +0 -4
- package/build/kireji/test.kireji.d.ts.map +0 -1
- package/build/kireji/test.kireji.js +0 -19
- package/build/kireji/test.kireji.js.map +0 -1
- package/build/lib/errors.d.ts +0 -13
- package/build/lib/errors.d.ts.map +0 -1
- package/build/lib/errors.js +0 -18
- package/build/lib/errors.js.map +0 -1
- package/build/lib/util/featureStep-executor.d.ts +0 -7
- package/build/lib/util/featureStep-executor.d.ts.map +0 -1
- package/build/lib/util/featureStep-executor.js +0 -63
- package/build/lib/util/featureStep-executor.js.map +0 -1
- package/build/steps/conditions-stepper.d.ts +0 -27
- package/build/steps/conditions-stepper.d.ts.map +0 -1
- package/build/steps/conditions-stepper.js +0 -99
- package/build/steps/conditions-stepper.js.map +0 -1
- package/build/steps/outcomesRegistry.d.ts +0 -8
- package/build/steps/outcomesRegistry.d.ts.map +0 -1
- package/build/steps/outcomesRegistry.js +0 -3
- package/build/steps/outcomesRegistry.js.map +0 -1
- package/build/steps/registeredOutcomesStore.d.ts +0 -12
- package/build/steps/registeredOutcomesStore.d.ts.map +0 -1
- package/build/steps/registeredOutcomesStore.js +0 -11
- package/build/steps/registeredOutcomesStore.js.map +0 -1
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const BaseEvent: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
timestamp: z.ZodNumber;
|
|
5
|
+
source: z.ZodDefault<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare const LifecycleEvent: z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
timestamp: z.ZodNumber;
|
|
10
|
+
source: z.ZodDefault<z.ZodString>;
|
|
11
|
+
kind: z.ZodLiteral<"lifecycle">;
|
|
12
|
+
type: z.ZodEnum<{
|
|
13
|
+
feature: "feature";
|
|
14
|
+
scenario: "scenario";
|
|
15
|
+
step: "step";
|
|
16
|
+
activity: "activity";
|
|
17
|
+
waypoint: "waypoint";
|
|
18
|
+
ensure: "ensure";
|
|
19
|
+
execution: "execution";
|
|
20
|
+
}>;
|
|
21
|
+
stage: z.ZodEnum<{
|
|
22
|
+
start: "start";
|
|
23
|
+
end: "end";
|
|
24
|
+
}>;
|
|
25
|
+
stepperName: z.ZodOptional<z.ZodString>;
|
|
26
|
+
actionName: z.ZodOptional<z.ZodString>;
|
|
27
|
+
label: z.ZodOptional<z.ZodString>;
|
|
28
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
running: "running";
|
|
30
|
+
completed: "completed";
|
|
31
|
+
failed: "failed";
|
|
32
|
+
skipped: "skipped";
|
|
33
|
+
}>>;
|
|
34
|
+
error: z.ZodOptional<z.ZodString>;
|
|
35
|
+
intent: z.ZodOptional<z.ZodObject<{
|
|
36
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
37
|
+
speculative: "speculative";
|
|
38
|
+
authoritative: "authoritative";
|
|
39
|
+
}>>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
export declare const LogEvent: z.ZodObject<{
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
timestamp: z.ZodNumber;
|
|
45
|
+
source: z.ZodDefault<z.ZodString>;
|
|
46
|
+
kind: z.ZodLiteral<"log">;
|
|
47
|
+
level: z.ZodEnum<{
|
|
48
|
+
error: "error";
|
|
49
|
+
trace: "trace";
|
|
50
|
+
debug: "debug";
|
|
51
|
+
info: "info";
|
|
52
|
+
warn: "warn";
|
|
53
|
+
}>;
|
|
54
|
+
message: z.ZodString;
|
|
55
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
export declare const ImageArtifact: z.ZodObject<{
|
|
58
|
+
id: z.ZodString;
|
|
59
|
+
timestamp: z.ZodNumber;
|
|
60
|
+
source: z.ZodDefault<z.ZodString>;
|
|
61
|
+
kind: z.ZodLiteral<"artifact">;
|
|
62
|
+
artifactType: z.ZodLiteral<"image">;
|
|
63
|
+
path: z.ZodString;
|
|
64
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
export declare const VideoArtifact: z.ZodObject<{
|
|
67
|
+
id: z.ZodString;
|
|
68
|
+
timestamp: z.ZodNumber;
|
|
69
|
+
source: z.ZodDefault<z.ZodString>;
|
|
70
|
+
kind: z.ZodLiteral<"artifact">;
|
|
71
|
+
artifactType: z.ZodLiteral<"video">;
|
|
72
|
+
path: z.ZodString;
|
|
73
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
74
|
+
isTimeLined: z.ZodDefault<z.ZodBoolean>;
|
|
75
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
export declare const HtmlArtifact: z.ZodObject<{
|
|
78
|
+
id: z.ZodString;
|
|
79
|
+
timestamp: z.ZodNumber;
|
|
80
|
+
source: z.ZodDefault<z.ZodString>;
|
|
81
|
+
kind: z.ZodLiteral<"artifact">;
|
|
82
|
+
artifactType: z.ZodLiteral<"html">;
|
|
83
|
+
path: z.ZodString;
|
|
84
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
export declare const SpeechArtifact: z.ZodObject<{
|
|
87
|
+
id: z.ZodString;
|
|
88
|
+
timestamp: z.ZodNumber;
|
|
89
|
+
source: z.ZodDefault<z.ZodString>;
|
|
90
|
+
kind: z.ZodLiteral<"artifact">;
|
|
91
|
+
artifactType: z.ZodLiteral<"speech">;
|
|
92
|
+
path: z.ZodString;
|
|
93
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
94
|
+
transcript: z.ZodOptional<z.ZodString>;
|
|
95
|
+
durationS: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
export declare const JsonArtifact: z.ZodObject<{
|
|
98
|
+
id: z.ZodString;
|
|
99
|
+
timestamp: z.ZodNumber;
|
|
100
|
+
source: z.ZodDefault<z.ZodString>;
|
|
101
|
+
kind: z.ZodLiteral<"artifact">;
|
|
102
|
+
artifactType: z.ZodLiteral<"json">;
|
|
103
|
+
json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
104
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
105
|
+
}, z.core.$strip>;
|
|
106
|
+
export declare const MermaidArtifact: z.ZodObject<{
|
|
107
|
+
id: z.ZodString;
|
|
108
|
+
timestamp: z.ZodNumber;
|
|
109
|
+
kind: z.ZodLiteral<"artifact">;
|
|
110
|
+
artifactType: z.ZodLiteral<"mermaid">;
|
|
111
|
+
source: z.ZodString;
|
|
112
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
export declare const HttpTraceArtifact: z.ZodObject<{
|
|
115
|
+
id: z.ZodString;
|
|
116
|
+
timestamp: z.ZodNumber;
|
|
117
|
+
source: z.ZodDefault<z.ZodString>;
|
|
118
|
+
kind: z.ZodLiteral<"artifact">;
|
|
119
|
+
artifactType: z.ZodLiteral<"http-trace">;
|
|
120
|
+
httpEvent: z.ZodEnum<{
|
|
121
|
+
request: "request";
|
|
122
|
+
response: "response";
|
|
123
|
+
route: "route";
|
|
124
|
+
}>;
|
|
125
|
+
trace: z.ZodObject<{
|
|
126
|
+
frameURL: z.ZodOptional<z.ZodString>;
|
|
127
|
+
requestingPage: z.ZodOptional<z.ZodString>;
|
|
128
|
+
requestingURL: z.ZodOptional<z.ZodString>;
|
|
129
|
+
method: z.ZodOptional<z.ZodString>;
|
|
130
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
131
|
+
postData: z.ZodOptional<z.ZodUnknown>;
|
|
132
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
statusText: z.ZodOptional<z.ZodString>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
export declare const ResolvedFeaturesArtifact: z.ZodObject<{
|
|
138
|
+
id: z.ZodString;
|
|
139
|
+
timestamp: z.ZodNumber;
|
|
140
|
+
source: z.ZodDefault<z.ZodString>;
|
|
141
|
+
kind: z.ZodLiteral<"artifact">;
|
|
142
|
+
artifactType: z.ZodLiteral<"resolvedFeatures">;
|
|
143
|
+
resolvedFeatures: z.ZodArray<z.ZodUnknown>;
|
|
144
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
145
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
146
|
+
}, z.core.$strip>;
|
|
147
|
+
export declare const FileArtifact: z.ZodObject<{
|
|
148
|
+
id: z.ZodString;
|
|
149
|
+
timestamp: z.ZodNumber;
|
|
150
|
+
source: z.ZodDefault<z.ZodString>;
|
|
151
|
+
kind: z.ZodLiteral<"artifact">;
|
|
152
|
+
artifactType: z.ZodLiteral<"file">;
|
|
153
|
+
path: z.ZodString;
|
|
154
|
+
mimetype: z.ZodString;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
export declare const ArtifactEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
157
|
+
id: z.ZodString;
|
|
158
|
+
timestamp: z.ZodNumber;
|
|
159
|
+
source: z.ZodDefault<z.ZodString>;
|
|
160
|
+
kind: z.ZodLiteral<"artifact">;
|
|
161
|
+
artifactType: z.ZodLiteral<"image">;
|
|
162
|
+
path: z.ZodString;
|
|
163
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
164
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
165
|
+
id: z.ZodString;
|
|
166
|
+
timestamp: z.ZodNumber;
|
|
167
|
+
source: z.ZodDefault<z.ZodString>;
|
|
168
|
+
kind: z.ZodLiteral<"artifact">;
|
|
169
|
+
artifactType: z.ZodLiteral<"video">;
|
|
170
|
+
path: z.ZodString;
|
|
171
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
172
|
+
isTimeLined: z.ZodDefault<z.ZodBoolean>;
|
|
173
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
175
|
+
id: z.ZodString;
|
|
176
|
+
timestamp: z.ZodNumber;
|
|
177
|
+
source: z.ZodDefault<z.ZodString>;
|
|
178
|
+
kind: z.ZodLiteral<"artifact">;
|
|
179
|
+
artifactType: z.ZodLiteral<"html">;
|
|
180
|
+
path: z.ZodString;
|
|
181
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
183
|
+
id: z.ZodString;
|
|
184
|
+
timestamp: z.ZodNumber;
|
|
185
|
+
source: z.ZodDefault<z.ZodString>;
|
|
186
|
+
kind: z.ZodLiteral<"artifact">;
|
|
187
|
+
artifactType: z.ZodLiteral<"speech">;
|
|
188
|
+
path: z.ZodString;
|
|
189
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
190
|
+
transcript: z.ZodOptional<z.ZodString>;
|
|
191
|
+
durationS: z.ZodOptional<z.ZodNumber>;
|
|
192
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
193
|
+
id: z.ZodString;
|
|
194
|
+
timestamp: z.ZodNumber;
|
|
195
|
+
source: z.ZodDefault<z.ZodString>;
|
|
196
|
+
kind: z.ZodLiteral<"artifact">;
|
|
197
|
+
artifactType: z.ZodLiteral<"json">;
|
|
198
|
+
json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
199
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
200
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
201
|
+
id: z.ZodString;
|
|
202
|
+
timestamp: z.ZodNumber;
|
|
203
|
+
kind: z.ZodLiteral<"artifact">;
|
|
204
|
+
artifactType: z.ZodLiteral<"mermaid">;
|
|
205
|
+
source: z.ZodString;
|
|
206
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
207
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
208
|
+
id: z.ZodString;
|
|
209
|
+
timestamp: z.ZodNumber;
|
|
210
|
+
source: z.ZodDefault<z.ZodString>;
|
|
211
|
+
kind: z.ZodLiteral<"artifact">;
|
|
212
|
+
artifactType: z.ZodLiteral<"http-trace">;
|
|
213
|
+
httpEvent: z.ZodEnum<{
|
|
214
|
+
request: "request";
|
|
215
|
+
response: "response";
|
|
216
|
+
route: "route";
|
|
217
|
+
}>;
|
|
218
|
+
trace: z.ZodObject<{
|
|
219
|
+
frameURL: z.ZodOptional<z.ZodString>;
|
|
220
|
+
requestingPage: z.ZodOptional<z.ZodString>;
|
|
221
|
+
requestingURL: z.ZodOptional<z.ZodString>;
|
|
222
|
+
method: z.ZodOptional<z.ZodString>;
|
|
223
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
224
|
+
postData: z.ZodOptional<z.ZodUnknown>;
|
|
225
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
statusText: z.ZodOptional<z.ZodString>;
|
|
227
|
+
}, z.core.$strip>;
|
|
228
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
229
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
230
|
+
id: z.ZodString;
|
|
231
|
+
timestamp: z.ZodNumber;
|
|
232
|
+
source: z.ZodDefault<z.ZodString>;
|
|
233
|
+
kind: z.ZodLiteral<"artifact">;
|
|
234
|
+
artifactType: z.ZodLiteral<"resolvedFeatures">;
|
|
235
|
+
resolvedFeatures: z.ZodArray<z.ZodUnknown>;
|
|
236
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
237
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
238
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
239
|
+
id: z.ZodString;
|
|
240
|
+
timestamp: z.ZodNumber;
|
|
241
|
+
source: z.ZodDefault<z.ZodString>;
|
|
242
|
+
kind: z.ZodLiteral<"artifact">;
|
|
243
|
+
artifactType: z.ZodLiteral<"file">;
|
|
244
|
+
path: z.ZodString;
|
|
245
|
+
mimetype: z.ZodString;
|
|
246
|
+
}, z.core.$strip>], "artifactType">;
|
|
247
|
+
export declare const ControlEvent: z.ZodObject<{
|
|
248
|
+
id: z.ZodString;
|
|
249
|
+
timestamp: z.ZodNumber;
|
|
250
|
+
source: z.ZodDefault<z.ZodString>;
|
|
251
|
+
kind: z.ZodLiteral<"control">;
|
|
252
|
+
signal: z.ZodEnum<{
|
|
253
|
+
"graph-link": "graph-link";
|
|
254
|
+
break: "break";
|
|
255
|
+
pause: "pause";
|
|
256
|
+
resume: "resume";
|
|
257
|
+
}>;
|
|
258
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
export declare const HaibunEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
261
|
+
id: z.ZodString;
|
|
262
|
+
timestamp: z.ZodNumber;
|
|
263
|
+
source: z.ZodDefault<z.ZodString>;
|
|
264
|
+
kind: z.ZodLiteral<"lifecycle">;
|
|
265
|
+
type: z.ZodEnum<{
|
|
266
|
+
feature: "feature";
|
|
267
|
+
scenario: "scenario";
|
|
268
|
+
step: "step";
|
|
269
|
+
activity: "activity";
|
|
270
|
+
waypoint: "waypoint";
|
|
271
|
+
ensure: "ensure";
|
|
272
|
+
execution: "execution";
|
|
273
|
+
}>;
|
|
274
|
+
stage: z.ZodEnum<{
|
|
275
|
+
start: "start";
|
|
276
|
+
end: "end";
|
|
277
|
+
}>;
|
|
278
|
+
stepperName: z.ZodOptional<z.ZodString>;
|
|
279
|
+
actionName: z.ZodOptional<z.ZodString>;
|
|
280
|
+
label: z.ZodOptional<z.ZodString>;
|
|
281
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
282
|
+
running: "running";
|
|
283
|
+
completed: "completed";
|
|
284
|
+
failed: "failed";
|
|
285
|
+
skipped: "skipped";
|
|
286
|
+
}>>;
|
|
287
|
+
error: z.ZodOptional<z.ZodString>;
|
|
288
|
+
intent: z.ZodOptional<z.ZodObject<{
|
|
289
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
290
|
+
speculative: "speculative";
|
|
291
|
+
authoritative: "authoritative";
|
|
292
|
+
}>>;
|
|
293
|
+
}, z.core.$strip>>;
|
|
294
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
295
|
+
id: z.ZodString;
|
|
296
|
+
timestamp: z.ZodNumber;
|
|
297
|
+
source: z.ZodDefault<z.ZodString>;
|
|
298
|
+
kind: z.ZodLiteral<"log">;
|
|
299
|
+
level: z.ZodEnum<{
|
|
300
|
+
error: "error";
|
|
301
|
+
trace: "trace";
|
|
302
|
+
debug: "debug";
|
|
303
|
+
info: "info";
|
|
304
|
+
warn: "warn";
|
|
305
|
+
}>;
|
|
306
|
+
message: z.ZodString;
|
|
307
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
308
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
309
|
+
id: z.ZodString;
|
|
310
|
+
timestamp: z.ZodNumber;
|
|
311
|
+
source: z.ZodDefault<z.ZodString>;
|
|
312
|
+
kind: z.ZodLiteral<"artifact">;
|
|
313
|
+
artifactType: z.ZodLiteral<"image">;
|
|
314
|
+
path: z.ZodString;
|
|
315
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
316
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
317
|
+
id: z.ZodString;
|
|
318
|
+
timestamp: z.ZodNumber;
|
|
319
|
+
source: z.ZodDefault<z.ZodString>;
|
|
320
|
+
kind: z.ZodLiteral<"artifact">;
|
|
321
|
+
artifactType: z.ZodLiteral<"video">;
|
|
322
|
+
path: z.ZodString;
|
|
323
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
324
|
+
isTimeLined: z.ZodDefault<z.ZodBoolean>;
|
|
325
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
327
|
+
id: z.ZodString;
|
|
328
|
+
timestamp: z.ZodNumber;
|
|
329
|
+
source: z.ZodDefault<z.ZodString>;
|
|
330
|
+
kind: z.ZodLiteral<"artifact">;
|
|
331
|
+
artifactType: z.ZodLiteral<"html">;
|
|
332
|
+
path: z.ZodString;
|
|
333
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
334
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
335
|
+
id: z.ZodString;
|
|
336
|
+
timestamp: z.ZodNumber;
|
|
337
|
+
source: z.ZodDefault<z.ZodString>;
|
|
338
|
+
kind: z.ZodLiteral<"artifact">;
|
|
339
|
+
artifactType: z.ZodLiteral<"speech">;
|
|
340
|
+
path: z.ZodString;
|
|
341
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
342
|
+
transcript: z.ZodOptional<z.ZodString>;
|
|
343
|
+
durationS: z.ZodOptional<z.ZodNumber>;
|
|
344
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
345
|
+
id: z.ZodString;
|
|
346
|
+
timestamp: z.ZodNumber;
|
|
347
|
+
source: z.ZodDefault<z.ZodString>;
|
|
348
|
+
kind: z.ZodLiteral<"artifact">;
|
|
349
|
+
artifactType: z.ZodLiteral<"json">;
|
|
350
|
+
json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
351
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
352
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
353
|
+
id: z.ZodString;
|
|
354
|
+
timestamp: z.ZodNumber;
|
|
355
|
+
kind: z.ZodLiteral<"artifact">;
|
|
356
|
+
artifactType: z.ZodLiteral<"mermaid">;
|
|
357
|
+
source: z.ZodString;
|
|
358
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
359
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
360
|
+
id: z.ZodString;
|
|
361
|
+
timestamp: z.ZodNumber;
|
|
362
|
+
source: z.ZodDefault<z.ZodString>;
|
|
363
|
+
kind: z.ZodLiteral<"artifact">;
|
|
364
|
+
artifactType: z.ZodLiteral<"http-trace">;
|
|
365
|
+
httpEvent: z.ZodEnum<{
|
|
366
|
+
request: "request";
|
|
367
|
+
response: "response";
|
|
368
|
+
route: "route";
|
|
369
|
+
}>;
|
|
370
|
+
trace: z.ZodObject<{
|
|
371
|
+
frameURL: z.ZodOptional<z.ZodString>;
|
|
372
|
+
requestingPage: z.ZodOptional<z.ZodString>;
|
|
373
|
+
requestingURL: z.ZodOptional<z.ZodString>;
|
|
374
|
+
method: z.ZodOptional<z.ZodString>;
|
|
375
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
376
|
+
postData: z.ZodOptional<z.ZodUnknown>;
|
|
377
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
statusText: z.ZodOptional<z.ZodString>;
|
|
379
|
+
}, z.core.$strip>;
|
|
380
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
381
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
382
|
+
id: z.ZodString;
|
|
383
|
+
timestamp: z.ZodNumber;
|
|
384
|
+
source: z.ZodDefault<z.ZodString>;
|
|
385
|
+
kind: z.ZodLiteral<"artifact">;
|
|
386
|
+
artifactType: z.ZodLiteral<"resolvedFeatures">;
|
|
387
|
+
resolvedFeatures: z.ZodArray<z.ZodUnknown>;
|
|
388
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
389
|
+
mimetype: z.ZodDefault<z.ZodString>;
|
|
390
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
391
|
+
id: z.ZodString;
|
|
392
|
+
timestamp: z.ZodNumber;
|
|
393
|
+
source: z.ZodDefault<z.ZodString>;
|
|
394
|
+
kind: z.ZodLiteral<"artifact">;
|
|
395
|
+
artifactType: z.ZodLiteral<"file">;
|
|
396
|
+
path: z.ZodString;
|
|
397
|
+
mimetype: z.ZodString;
|
|
398
|
+
}, z.core.$strip>], "artifactType">, z.ZodObject<{
|
|
399
|
+
id: z.ZodString;
|
|
400
|
+
timestamp: z.ZodNumber;
|
|
401
|
+
source: z.ZodDefault<z.ZodString>;
|
|
402
|
+
kind: z.ZodLiteral<"control">;
|
|
403
|
+
signal: z.ZodEnum<{
|
|
404
|
+
"graph-link": "graph-link";
|
|
405
|
+
break: "break";
|
|
406
|
+
pause: "pause";
|
|
407
|
+
resume: "resume";
|
|
408
|
+
}>;
|
|
409
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
410
|
+
}, z.core.$strip>], "kind">;
|
|
411
|
+
export type TBaseEvent = z.infer<typeof BaseEvent>;
|
|
412
|
+
export type TLifecycleEvent = z.infer<typeof LifecycleEvent>;
|
|
413
|
+
export type TLogEvent = z.infer<typeof LogEvent>;
|
|
414
|
+
export type TArtifactEvent = z.infer<typeof ArtifactEvent>;
|
|
415
|
+
export type TImageArtifact = z.infer<typeof ImageArtifact>;
|
|
416
|
+
export type TVideoArtifact = z.infer<typeof VideoArtifact>;
|
|
417
|
+
export type THtmlArtifact = z.infer<typeof HtmlArtifact>;
|
|
418
|
+
export type TSpeechArtifact = z.infer<typeof SpeechArtifact>;
|
|
419
|
+
export type TJsonArtifact = z.infer<typeof JsonArtifact>;
|
|
420
|
+
export type TMermaidArtifact = z.infer<typeof MermaidArtifact>;
|
|
421
|
+
export type THttpTraceArtifact = z.infer<typeof HttpTraceArtifact>;
|
|
422
|
+
export type TResolvedFeaturesArtifact = z.infer<typeof ResolvedFeaturesArtifact>;
|
|
423
|
+
export type TFileArtifact = z.infer<typeof FileArtifact>;
|
|
424
|
+
export type TControlEvent = z.infer<typeof ControlEvent>;
|
|
425
|
+
export type THaibunEvent = z.infer<typeof HaibunEvent>;
|
|
426
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/schema/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,SAAS;;;;iBAIpB,CAAC;AAGH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkBzB,CAAC;AAGH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;iBAKnB,CAAC;AAQH,eAAO,MAAM,aAAa;;;;;;;;iBAIxB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;iBAMxB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;iBAIvB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;iBAMzB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;iBAIvB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;iBAI1B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;iBAc5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;iBAKnC,CAAC;AAGH,eAAO,MAAM,YAAY;;;;;;;;iBAIvB,CAAC;AAGH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAUxB,CAAC;AAGH,eAAO,MAAM,YAAY;;;;;;;;;;;;iBAIvB,CAAC;AAGH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;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AAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACzD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
// Base Protocol
|
|
3
|
+
export const BaseEvent = z.object({
|
|
4
|
+
id: z.string().describe('Unique identifier for the event, typically the seqPath'),
|
|
5
|
+
timestamp: z.number().int().describe('Absolute epoch timestamp in milliseconds'),
|
|
6
|
+
source: z.string().default('haibun').describe('Source of the event'),
|
|
7
|
+
});
|
|
8
|
+
// Lifecycle Events
|
|
9
|
+
export const LifecycleEvent = BaseEvent.extend({
|
|
10
|
+
kind: z.literal('lifecycle'),
|
|
11
|
+
type: z.enum(['feature', 'scenario', 'step', 'activity', 'waypoint', 'ensure', 'execution']),
|
|
12
|
+
stage: z.enum(['start', 'end']),
|
|
13
|
+
// Reference info
|
|
14
|
+
stepperName: z.string().optional(),
|
|
15
|
+
actionName: z.string().optional(),
|
|
16
|
+
label: z.string().optional(),
|
|
17
|
+
// Execution Context
|
|
18
|
+
status: z.enum(['running', 'completed', 'failed', 'skipped']).optional(),
|
|
19
|
+
error: z.string().optional(),
|
|
20
|
+
// Execution Intent
|
|
21
|
+
intent: z.object({
|
|
22
|
+
mode: z.enum(['speculative', 'authoritative']).optional()
|
|
23
|
+
}).optional(),
|
|
24
|
+
});
|
|
25
|
+
// Log Events
|
|
26
|
+
export const LogEvent = BaseEvent.extend({
|
|
27
|
+
kind: z.literal('log'),
|
|
28
|
+
level: z.enum(['trace', 'debug', 'info', 'warn', 'error']),
|
|
29
|
+
message: z.string(),
|
|
30
|
+
payload: z.record(z.string(), z.unknown()).optional(), // Interactive inspector data
|
|
31
|
+
});
|
|
32
|
+
// Artifact Events - Base
|
|
33
|
+
const BaseArtifact = BaseEvent.extend({
|
|
34
|
+
kind: z.literal('artifact'),
|
|
35
|
+
});
|
|
36
|
+
// Artifact Subtypes
|
|
37
|
+
export const ImageArtifact = BaseArtifact.extend({
|
|
38
|
+
artifactType: z.literal('image'),
|
|
39
|
+
path: z.string(),
|
|
40
|
+
mimetype: z.string().default('image/png'),
|
|
41
|
+
});
|
|
42
|
+
export const VideoArtifact = BaseArtifact.extend({
|
|
43
|
+
artifactType: z.literal('video'),
|
|
44
|
+
path: z.string(),
|
|
45
|
+
mimetype: z.string().default('video/webm'),
|
|
46
|
+
isTimeLined: z.boolean().default(true),
|
|
47
|
+
duration: z.number().optional(),
|
|
48
|
+
});
|
|
49
|
+
export const HtmlArtifact = BaseArtifact.extend({
|
|
50
|
+
artifactType: z.literal('html'),
|
|
51
|
+
path: z.string(),
|
|
52
|
+
mimetype: z.string().default('text/html'),
|
|
53
|
+
});
|
|
54
|
+
export const SpeechArtifact = BaseArtifact.extend({
|
|
55
|
+
artifactType: z.literal('speech'),
|
|
56
|
+
path: z.string(),
|
|
57
|
+
mimetype: z.string().default('audio/mpeg'),
|
|
58
|
+
transcript: z.string().optional(),
|
|
59
|
+
durationS: z.number().optional(),
|
|
60
|
+
});
|
|
61
|
+
export const JsonArtifact = BaseArtifact.extend({
|
|
62
|
+
artifactType: z.literal('json'),
|
|
63
|
+
json: z.record(z.string(), z.unknown()),
|
|
64
|
+
mimetype: z.string().default('application/json'),
|
|
65
|
+
});
|
|
66
|
+
export const MermaidArtifact = BaseArtifact.extend({
|
|
67
|
+
artifactType: z.literal('mermaid'),
|
|
68
|
+
source: z.string(),
|
|
69
|
+
mimetype: z.string().default('text/x-mermaid'),
|
|
70
|
+
});
|
|
71
|
+
export const HttpTraceArtifact = BaseArtifact.extend({
|
|
72
|
+
artifactType: z.literal('http-trace'),
|
|
73
|
+
httpEvent: z.enum(['request', 'response', 'route']),
|
|
74
|
+
trace: z.object({
|
|
75
|
+
frameURL: z.string().optional(),
|
|
76
|
+
requestingPage: z.string().optional(),
|
|
77
|
+
requestingURL: z.string().optional(),
|
|
78
|
+
method: z.string().optional(),
|
|
79
|
+
headers: z.record(z.string(), z.string()).optional(),
|
|
80
|
+
postData: z.unknown().optional(),
|
|
81
|
+
status: z.number().optional(),
|
|
82
|
+
statusText: z.string().optional(),
|
|
83
|
+
}),
|
|
84
|
+
mimetype: z.string().default('application/json'),
|
|
85
|
+
});
|
|
86
|
+
export const ResolvedFeaturesArtifact = BaseArtifact.extend({
|
|
87
|
+
artifactType: z.literal('resolvedFeatures'),
|
|
88
|
+
resolvedFeatures: z.array(z.unknown()),
|
|
89
|
+
index: z.number().optional(),
|
|
90
|
+
mimetype: z.string().default('application/json'),
|
|
91
|
+
});
|
|
92
|
+
// Generic file artifact for other types
|
|
93
|
+
export const FileArtifact = BaseArtifact.extend({
|
|
94
|
+
artifactType: z.literal('file'),
|
|
95
|
+
path: z.string(),
|
|
96
|
+
mimetype: z.string(),
|
|
97
|
+
});
|
|
98
|
+
// Artifact discriminated union
|
|
99
|
+
export const ArtifactEvent = z.discriminatedUnion('artifactType', [
|
|
100
|
+
ImageArtifact,
|
|
101
|
+
VideoArtifact,
|
|
102
|
+
HtmlArtifact,
|
|
103
|
+
SpeechArtifact,
|
|
104
|
+
JsonArtifact,
|
|
105
|
+
MermaidArtifact,
|
|
106
|
+
HttpTraceArtifact,
|
|
107
|
+
ResolvedFeaturesArtifact,
|
|
108
|
+
FileArtifact,
|
|
109
|
+
]);
|
|
110
|
+
// Control Events
|
|
111
|
+
export const ControlEvent = BaseEvent.extend({
|
|
112
|
+
kind: z.literal('control'),
|
|
113
|
+
signal: z.enum(['graph-link', 'break', 'pause', 'resume']),
|
|
114
|
+
payload: z.record(z.string(), z.unknown()),
|
|
115
|
+
});
|
|
116
|
+
// Union Type
|
|
117
|
+
export const HaibunEvent = z.discriminatedUnion('kind', [
|
|
118
|
+
LifecycleEvent,
|
|
119
|
+
LogEvent,
|
|
120
|
+
ArtifactEvent,
|
|
121
|
+
ControlEvent
|
|
122
|
+
]);
|
|
123
|
+
//# sourceMappingURL=events.js.map
|
|
@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|
|
|
2
2
|
import { TStepArgs, TFeatureStep, TWorld, IStepperCycles, TStepperStep, TFeatures } from '../lib/defs.js';
|
|
3
3
|
type TActivitiesFixedSteps = {
|
|
4
4
|
activity: TStepperStep;
|
|
5
|
-
|
|
5
|
+
waypointWithProof: TStepperStep;
|
|
6
|
+
waypointLabel: TStepperStep;
|
|
6
7
|
ensure: TStepperStep;
|
|
7
8
|
showWaypoints: TStepperStep;
|
|
8
9
|
};
|
|
@@ -12,38 +13,77 @@ type TActivitiesStepperSteps = TStepperSteps & TActivitiesFixedSteps;
|
|
|
12
13
|
* implements this logic: P ∨ (¬P ∧ [A]P)
|
|
13
14
|
*/
|
|
14
15
|
export declare class ActivitiesStepper extends AStepper implements IHasCycles {
|
|
15
|
-
private
|
|
16
|
+
private runner;
|
|
16
17
|
private backgroundOutcomePatterns;
|
|
17
18
|
private featureOutcomePatterns;
|
|
18
19
|
private outcomeToFeaturePath;
|
|
20
|
+
private featureSteps;
|
|
19
21
|
private currentFeaturePath;
|
|
20
22
|
private lastFeaturePath;
|
|
23
|
+
private lastResolutionPath;
|
|
21
24
|
private ensuredInstances;
|
|
25
|
+
private ensureAttempts;
|
|
22
26
|
private registeredOutcomeMetadata;
|
|
27
|
+
private inActivityBlock;
|
|
23
28
|
cycles: IStepperCycles;
|
|
24
29
|
cyclesWhen: {
|
|
25
30
|
startExecution: number;
|
|
26
31
|
startFeature: number;
|
|
27
32
|
};
|
|
28
|
-
|
|
33
|
+
readonly baseSteps: {
|
|
34
|
+
readonly activity: {
|
|
35
|
+
readonly gwta: "Activity: {activity}";
|
|
36
|
+
readonly action: () => import("../lib/defs.js").TOKActionResult;
|
|
37
|
+
readonly resolveFeatureLine: (line: string, path: string, _stepper: AStepper, _backgrounds: TFeatures, allLines?: string[], lineIndex?: number) => boolean;
|
|
38
|
+
};
|
|
39
|
+
readonly waypointWithProof: {
|
|
40
|
+
readonly gwta: "waypoint {outcome} with {proof:statement}";
|
|
41
|
+
readonly precludes: ["ActivitiesStepper.waypointLabel"];
|
|
42
|
+
readonly action: ({ proof }: {
|
|
43
|
+
proof: TFeatureStep[];
|
|
44
|
+
}, featureStep: TFeatureStep) => Promise<import("../lib/defs.js").TNotOKActionResult | import("../lib/defs.js").TOKActionResult>;
|
|
45
|
+
};
|
|
46
|
+
readonly waypointLabel: {
|
|
47
|
+
readonly gwta: "waypoint {outcome}";
|
|
48
|
+
readonly action: () => Promise<import("../lib/defs.js").TOKActionResult>;
|
|
49
|
+
};
|
|
50
|
+
readonly ensure: {
|
|
51
|
+
readonly description: "Ensure a waypoint condition by always running the proof. If proof passes, waypoint is already satisfied. If proof fails, run the full activity, then try the proof again";
|
|
52
|
+
readonly gwta: "ensure {outcome:statement}";
|
|
53
|
+
readonly unique: true;
|
|
54
|
+
readonly action: ({ outcome }: {
|
|
55
|
+
outcome: TFeatureStep[];
|
|
56
|
+
}, featureStep: TFeatureStep) => Promise<import("../lib/defs.js").TNotOKActionResult | import("../lib/defs.js").TOKActionResult>;
|
|
57
|
+
};
|
|
58
|
+
readonly showWaypoints: {
|
|
59
|
+
readonly exact: "show waypoints";
|
|
60
|
+
readonly action: (_args: TStepArgs, featureStep: TFeatureStep) => Promise<import("../lib/defs.js").TOKActionResult>;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
29
63
|
readonly typedSteps: {
|
|
30
64
|
readonly activity: {
|
|
31
65
|
readonly gwta: "Activity: {activity}";
|
|
32
66
|
readonly action: () => import("../lib/defs.js").TOKActionResult;
|
|
67
|
+
readonly resolveFeatureLine: (line: string, path: string, _stepper: AStepper, _backgrounds: TFeatures, allLines?: string[], lineIndex?: number) => boolean;
|
|
33
68
|
};
|
|
34
|
-
readonly
|
|
69
|
+
readonly waypointWithProof: {
|
|
35
70
|
readonly gwta: "waypoint {outcome} with {proof:statement}";
|
|
36
|
-
readonly
|
|
71
|
+
readonly precludes: ["ActivitiesStepper.waypointLabel"];
|
|
37
72
|
readonly action: ({ proof }: {
|
|
38
73
|
proof: TFeatureStep[];
|
|
39
|
-
}, featureStep: TFeatureStep) => Promise<import("../lib/defs.js").
|
|
74
|
+
}, featureStep: TFeatureStep) => Promise<import("../lib/defs.js").TNotOKActionResult | import("../lib/defs.js").TOKActionResult>;
|
|
75
|
+
};
|
|
76
|
+
readonly waypointLabel: {
|
|
77
|
+
readonly gwta: "waypoint {outcome}";
|
|
78
|
+
readonly action: () => Promise<import("../lib/defs.js").TOKActionResult>;
|
|
40
79
|
};
|
|
41
80
|
readonly ensure: {
|
|
42
|
-
readonly description: "Ensure a waypoint condition by always running the proof. If proof passes, waypoint is already satisfied. If proof fails, run the full activity
|
|
81
|
+
readonly description: "Ensure a waypoint condition by always running the proof. If proof passes, waypoint is already satisfied. If proof fails, run the full activity, then try the proof again";
|
|
43
82
|
readonly gwta: "ensure {outcome:statement}";
|
|
83
|
+
readonly unique: true;
|
|
44
84
|
readonly action: ({ outcome }: {
|
|
45
85
|
outcome: TFeatureStep[];
|
|
46
|
-
}, featureStep: TFeatureStep) => Promise<import("../lib/defs.js").
|
|
86
|
+
}, featureStep: TFeatureStep) => Promise<import("../lib/defs.js").TNotOKActionResult | import("../lib/defs.js").TOKActionResult>;
|
|
47
87
|
};
|
|
48
88
|
readonly showWaypoints: {
|
|
49
89
|
readonly exact: "show waypoints";
|
|
@@ -68,6 +108,7 @@ export declare class ActivitiesStepper extends AStepper implements IHasCycles {
|
|
|
68
108
|
* MonitorHandler subscribes after resolution, so we retransmit stored metadata.
|
|
69
109
|
*/
|
|
70
110
|
sendGraphLinkMessages(): void;
|
|
111
|
+
private resolveWaypointCommon;
|
|
71
112
|
}
|
|
72
113
|
export default ActivitiesStepper;
|
|
73
114
|
//# sourceMappingURL=activities-stepper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activities-stepper.d.ts","sourceRoot":"","sources":["../../src/steps/activities-stepper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,oB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