@executioncontrolprotocol/app 0.51.0 → 0.60.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.
- package/README.md +4 -61
- package/dist/client/api.d.ts +107 -0
- package/dist/client/api.d.ts.map +1 -0
- package/dist/client/api.js +216 -0
- package/dist/client/api.js.map +1 -0
- package/dist/client/index.d.ts +11 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +11 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/launch.d.ts +47 -0
- package/dist/client/launch.d.ts.map +1 -0
- package/dist/client/launch.js +50 -0
- package/dist/client/launch.js.map +1 -0
- package/dist/client/results.d.ts +85 -0
- package/dist/client/results.d.ts.map +1 -0
- package/dist/client/results.js +181 -0
- package/dist/client/results.js.map +1 -0
- package/dist/client/run-follow.d.ts +40 -0
- package/dist/client/run-follow.d.ts.map +1 -0
- package/dist/client/run-follow.js +91 -0
- package/dist/client/run-follow.js.map +1 -0
- package/dist/client/sse.d.ts +99 -0
- package/dist/client/sse.d.ts.map +1 -0
- package/dist/client/sse.js +168 -0
- package/dist/client/sse.js.map +1 -0
- package/dist/form/run-input-fields.d.ts +85 -0
- package/dist/form/run-input-fields.d.ts.map +1 -0
- package/dist/form/run-input-fields.js +147 -0
- package/dist/form/run-input-fields.js.map +1 -0
- package/dist/graph/edge-manifest.d.ts +87 -0
- package/dist/graph/edge-manifest.d.ts.map +1 -0
- package/dist/graph/edge-manifest.js +261 -0
- package/dist/graph/edge-manifest.js.map +1 -0
- package/dist/graph/edge-panel-logic.d.ts +24 -0
- package/dist/graph/edge-panel-logic.d.ts.map +1 -0
- package/dist/graph/edge-panel-logic.js +36 -0
- package/dist/graph/edge-panel-logic.js.map +1 -0
- package/dist/graph/execution-to-reactflow.d.ts +14 -0
- package/dist/graph/execution-to-reactflow.d.ts.map +1 -0
- package/dist/graph/execution-to-reactflow.js +497 -0
- package/dist/graph/execution-to-reactflow.js.map +1 -0
- package/dist/graph/extract-data-edges.d.ts +107 -9
- package/dist/graph/extract-data-edges.d.ts.map +1 -1
- package/dist/graph/extract-data-edges.js +467 -96
- package/dist/graph/extract-data-edges.js.map +1 -1
- package/dist/graph/index.d.ts +17 -10
- package/dist/graph/index.d.ts.map +1 -1
- package/dist/graph/index.js +16 -9
- package/dist/graph/index.js.map +1 -1
- package/dist/graph/io-from-schema.d.ts +27 -19
- package/dist/graph/io-from-schema.d.ts.map +1 -1
- package/dist/graph/io-from-schema.js +56 -88
- package/dist/graph/io-from-schema.js.map +1 -1
- package/dist/graph/json-schema.d.ts +29 -0
- package/dist/graph/json-schema.d.ts.map +1 -0
- package/dist/graph/json-schema.js +63 -0
- package/dist/graph/json-schema.js.map +1 -0
- package/dist/graph/layout.d.ts +19 -2
- package/dist/graph/layout.d.ts.map +1 -1
- package/dist/graph/layout.js +51 -37
- package/dist/graph/layout.js.map +1 -1
- package/dist/graph/map-run-events.d.ts +83 -3
- package/dist/graph/map-run-events.d.ts.map +1 -1
- package/dist/graph/map-run-events.js +262 -21
- package/dist/graph/map-run-events.js.map +1 -1
- package/dist/graph/markers.d.ts +27 -0
- package/dist/graph/markers.d.ts.map +1 -0
- package/dist/graph/markers.js +41 -0
- package/dist/graph/markers.js.map +1 -0
- package/dist/graph/ports-from-schema.d.ts +35 -0
- package/dist/graph/ports-from-schema.d.ts.map +1 -0
- package/dist/graph/ports-from-schema.js +215 -0
- package/dist/graph/ports-from-schema.js.map +1 -0
- package/dist/graph/progress.d.ts +25 -14
- package/dist/graph/progress.d.ts.map +1 -1
- package/dist/graph/progress.js +38 -16
- package/dist/graph/progress.js.map +1 -1
- package/dist/graph/types.d.ts +272 -55
- package/dist/graph/types.d.ts.map +1 -1
- package/dist/graph/types.js +20 -1
- package/dist/graph/types.js.map +1 -1
- package/dist/graph/value-schema-hint.d.ts +15 -17
- package/dist/graph/value-schema-hint.d.ts.map +1 -1
- package/dist/graph/value-schema-hint.js +67 -146
- package/dist/graph/value-schema-hint.js.map +1 -1
- package/dist/index.d.ts +8 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +6 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +7 -0
- package/dist/version.js.map +1 -0
- package/dist/web/assets/index--o6Bbdb5.js +21 -0
- package/dist/web/assets/index-CRT7x_c8.css +1 -0
- package/dist/web/index.html +3 -7
- package/package.json +17 -31
- package/dist/graph/dirty-buffer.d.ts +0 -7
- package/dist/graph/dirty-buffer.d.ts.map +0 -1
- package/dist/graph/dirty-buffer.js +0 -9
- package/dist/graph/dirty-buffer.js.map +0 -1
- package/dist/graph/patch-source.d.ts +0 -13
- package/dist/graph/patch-source.d.ts.map +0 -1
- package/dist/graph/patch-source.js +0 -24
- package/dist/graph/patch-source.js.map +0 -1
- package/dist/graph/ports-from-zod.d.ts +0 -35
- package/dist/graph/ports-from-zod.d.ts.map +0 -1
- package/dist/graph/ports-from-zod.js +0 -203
- package/dist/graph/ports-from-zod.js.map +0 -1
- package/dist/graph/workflow-to-reactflow.d.ts +0 -11
- package/dist/graph/workflow-to-reactflow.d.ts.map +0 -1
- package/dist/graph/workflow-to-reactflow.js +0 -224
- package/dist/graph/workflow-to-reactflow.js.map +0 -1
- package/dist/host/adapter.d.ts +0 -76
- package/dist/host/adapter.d.ts.map +0 -1
- package/dist/host/adapter.js +0 -2
- package/dist/host/adapter.js.map +0 -1
- package/dist/host/config-source.d.ts +0 -11
- package/dist/host/config-source.d.ts.map +0 -1
- package/dist/host/config-source.js +0 -19
- package/dist/host/config-source.js.map +0 -1
- package/dist/host/constants.d.ts +0 -21
- package/dist/host/constants.d.ts.map +0 -1
- package/dist/host/constants.js +0 -21
- package/dist/host/constants.js.map +0 -1
- package/dist/host/local-client.d.ts +0 -36
- package/dist/host/local-client.d.ts.map +0 -1
- package/dist/host/local-client.js +0 -138
- package/dist/host/local-client.js.map +0 -1
- package/dist/host/protocol.d.ts +0 -98
- package/dist/host/protocol.d.ts.map +0 -1
- package/dist/host/protocol.js +0 -2
- package/dist/host/protocol.js.map +0 -1
- package/dist/host/round-trip.d.ts +0 -19
- package/dist/host/round-trip.d.ts.map +0 -1
- package/dist/host/round-trip.js +0 -37
- package/dist/host/round-trip.js.map +0 -1
- package/dist/web/assets/index-BZiUJZIM.js +0 -150
- package/dist/web/assets/index-BaWYUR_k.css +0 -2
|
@@ -1,144 +1,61 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { isJsonObject } from "./json-schema.js";
|
|
2
|
+
const FILE_REF_KINDS = ["file", "url", "artifact"];
|
|
3
|
+
/**
|
|
4
|
+
* JSON Schema hint for a v2 file reference (`kind` `file`, `url` or `artifact`).
|
|
5
|
+
* @category App
|
|
6
|
+
*/
|
|
7
|
+
export function fileRefValueSchemaHint() {
|
|
8
|
+
return {
|
|
9
|
+
"x-ecp-file": true,
|
|
10
|
+
type: "object",
|
|
11
|
+
properties: {
|
|
12
|
+
kind: { type: "string", enum: [...FILE_REF_KINDS] },
|
|
13
|
+
path: { type: "string" },
|
|
14
|
+
uri: { type: "string" },
|
|
15
|
+
url: { type: "string" },
|
|
16
|
+
mediaType: { type: "string" },
|
|
17
|
+
sizeBytes: { type: "number" },
|
|
18
|
+
name: { type: "string" },
|
|
19
|
+
headers: { type: "object" },
|
|
20
|
+
},
|
|
21
|
+
};
|
|
5
22
|
}
|
|
6
23
|
/**
|
|
7
|
-
* Whether a JSON Schema hint describes a file ref port (`x-ecp-file`, `contentMediaType`,
|
|
24
|
+
* Whether a JSON Schema hint describes a file ref port (`x-ecp-file`, `contentMediaType`,
|
|
25
|
+
* binary format, or an object whose `kind` enum names a file ref kind).
|
|
8
26
|
* @category App
|
|
9
27
|
*/
|
|
28
|
+
function xEcpFileAccess(schema) {
|
|
29
|
+
const raw = schema["x-ecp-file"];
|
|
30
|
+
if (typeof raw === "object" && raw !== null && !Array.isArray(raw)) {
|
|
31
|
+
const access = raw.access;
|
|
32
|
+
return typeof access === "string" ? access : undefined;
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
10
36
|
export function isFileValueSchemaHint(schema) {
|
|
11
37
|
if (schema["x-ecp-file"] === true)
|
|
12
38
|
return true;
|
|
13
|
-
if (typeof schema
|
|
39
|
+
if (typeof schema["x-ecp-file"] === "object" && schema["x-ecp-file"] !== null)
|
|
14
40
|
return true;
|
|
15
|
-
|
|
16
|
-
if (
|
|
41
|
+
const media = schema.contentMediaType;
|
|
42
|
+
if (typeof media === "string" && media.length > 0)
|
|
43
|
+
return true;
|
|
44
|
+
if (Array.isArray(media) && media.length > 0)
|
|
17
45
|
return true;
|
|
18
|
-
}
|
|
19
46
|
if (schema.format === "binary" || schema.format === "byte")
|
|
20
47
|
return true;
|
|
21
|
-
if (schema.type === "object" &&
|
|
48
|
+
if (schema.type === "object" && isJsonObject(schema.properties)) {
|
|
22
49
|
const kind = schema.properties.kind;
|
|
23
|
-
if (
|
|
24
|
-
return kind.enum.some((
|
|
50
|
+
if (isJsonObject(kind) && Array.isArray(kind.enum)) {
|
|
51
|
+
return kind.enum.some((value) => FILE_REF_KINDS.includes(value));
|
|
25
52
|
}
|
|
26
53
|
}
|
|
27
54
|
return false;
|
|
28
55
|
}
|
|
29
56
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
export function unwrapZodType(type) {
|
|
34
|
-
if (type instanceof z.ZodOptional) {
|
|
35
|
-
return unwrapZodType(type.unwrap());
|
|
36
|
-
}
|
|
37
|
-
if (type instanceof z.ZodDefault) {
|
|
38
|
-
return unwrapZodType(type.removeDefault());
|
|
39
|
-
}
|
|
40
|
-
if (type instanceof z.ZodNullable) {
|
|
41
|
-
return unwrapZodType(type.unwrap());
|
|
42
|
-
}
|
|
43
|
-
if (type instanceof z.ZodEffects) {
|
|
44
|
-
return unwrapZodType(type._def.schema);
|
|
45
|
-
}
|
|
46
|
-
return type;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Project a Zod type to a primitive-centered JSON Schema hint.
|
|
50
|
-
* Enums stay `type: "string"` (or number) with an `enum` constraint — never a widget name.
|
|
51
|
-
* @category App
|
|
52
|
-
*/
|
|
53
|
-
export function valueSchemaFromZod(type) {
|
|
54
|
-
const inner = unwrapZodType(type);
|
|
55
|
-
if (isFileRefSchema(inner)) {
|
|
56
|
-
return fileRefValueSchemaHint(fileRefSchemaOptions(type));
|
|
57
|
-
}
|
|
58
|
-
if (inner instanceof z.ZodString) {
|
|
59
|
-
const hint = { type: "string" };
|
|
60
|
-
for (const check of inner._def.checks) {
|
|
61
|
-
if (check.kind === "min")
|
|
62
|
-
hint.minLength = check.value;
|
|
63
|
-
if (check.kind === "max")
|
|
64
|
-
hint.maxLength = check.value;
|
|
65
|
-
}
|
|
66
|
-
return hint;
|
|
67
|
-
}
|
|
68
|
-
if (inner instanceof z.ZodNumber) {
|
|
69
|
-
const hint = { type: "number" };
|
|
70
|
-
for (const check of inner._def.checks) {
|
|
71
|
-
if (check.kind === "min")
|
|
72
|
-
hint.minimum = check.value;
|
|
73
|
-
if (check.kind === "max")
|
|
74
|
-
hint.maximum = check.value;
|
|
75
|
-
}
|
|
76
|
-
return hint;
|
|
77
|
-
}
|
|
78
|
-
if (inner instanceof z.ZodBoolean) {
|
|
79
|
-
return { type: "boolean" };
|
|
80
|
-
}
|
|
81
|
-
if (inner instanceof z.ZodNull) {
|
|
82
|
-
return { type: "null" };
|
|
83
|
-
}
|
|
84
|
-
if (inner instanceof z.ZodEnum) {
|
|
85
|
-
const values = inner.options;
|
|
86
|
-
return { type: "string", enum: [...values] };
|
|
87
|
-
}
|
|
88
|
-
if (inner instanceof z.ZodNativeEnum) {
|
|
89
|
-
const raw = inner.enum;
|
|
90
|
-
const values = Object.values(raw).filter((v) => typeof v === "string" || typeof v === "number");
|
|
91
|
-
const allNumber = values.every((v) => typeof v === "number");
|
|
92
|
-
return {
|
|
93
|
-
type: allNumber ? "number" : "string",
|
|
94
|
-
enum: values,
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
if (inner instanceof z.ZodLiteral) {
|
|
98
|
-
const value = inner.value;
|
|
99
|
-
if (typeof value === "string")
|
|
100
|
-
return { type: "string", enum: [value] };
|
|
101
|
-
if (typeof value === "number")
|
|
102
|
-
return { type: "number", enum: [value] };
|
|
103
|
-
if (typeof value === "boolean")
|
|
104
|
-
return { type: "boolean", enum: [value] };
|
|
105
|
-
return undefined;
|
|
106
|
-
}
|
|
107
|
-
if (inner instanceof z.ZodArray) {
|
|
108
|
-
const items = valueSchemaFromZod(inner.element);
|
|
109
|
-
return items ? { type: "array", items } : { type: "array" };
|
|
110
|
-
}
|
|
111
|
-
if (inner instanceof z.ZodObject) {
|
|
112
|
-
const properties = {};
|
|
113
|
-
for (const [name, field] of Object.entries(inner.shape)) {
|
|
114
|
-
const child = valueSchemaFromZod(field);
|
|
115
|
-
if (child)
|
|
116
|
-
properties[name] = child;
|
|
117
|
-
}
|
|
118
|
-
return Object.keys(properties).length > 0
|
|
119
|
-
? { type: "object", properties }
|
|
120
|
-
: { type: "object" };
|
|
121
|
-
}
|
|
122
|
-
if (inner instanceof z.ZodRecord) {
|
|
123
|
-
return { type: "object" };
|
|
124
|
-
}
|
|
125
|
-
if (inner instanceof z.ZodUnion || inner instanceof z.ZodDiscriminatedUnion) {
|
|
126
|
-
const options = inner.options
|
|
127
|
-
.map((opt) => valueSchemaFromZod(opt))
|
|
128
|
-
.filter((s) => Boolean(s));
|
|
129
|
-
if (options.length === 0)
|
|
130
|
-
return undefined;
|
|
131
|
-
if (options.length === 1)
|
|
132
|
-
return options[0];
|
|
133
|
-
return { oneOf: options };
|
|
134
|
-
}
|
|
135
|
-
if (inner instanceof z.ZodAny || inner instanceof z.ZodUnknown) {
|
|
136
|
-
return {};
|
|
137
|
-
}
|
|
138
|
-
return undefined;
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Synthesize a minimal valueSchema from a type label (`string!`, `number`, …).
|
|
57
|
+
* Synthesize a minimal value schema from a type label (`string!`, `number`, `file`).
|
|
58
|
+
* Returns `undefined` for unknown labels.
|
|
142
59
|
* @category App
|
|
143
60
|
*/
|
|
144
61
|
export function valueSchemaFromEqlLabel(typeLabel) {
|
|
@@ -164,42 +81,46 @@ export function valueSchemaFromEqlLabel(typeLabel) {
|
|
|
164
81
|
return undefined;
|
|
165
82
|
}
|
|
166
83
|
/**
|
|
167
|
-
* Pass
|
|
84
|
+
* Pass a JSON Schema property node through as a value schema hint (shallow clone).
|
|
168
85
|
* @category App
|
|
169
86
|
*/
|
|
170
87
|
export function valueSchemaFromJsonSchemaProp(prop) {
|
|
171
|
-
if (
|
|
88
|
+
if (!isJsonObject(prop))
|
|
172
89
|
return undefined;
|
|
173
90
|
return { ...prop };
|
|
174
91
|
}
|
|
175
92
|
/**
|
|
176
|
-
* Build a name
|
|
177
|
-
* Supports Zod objects and JSON Schema objects with `properties`.
|
|
93
|
+
* Build a name to value-schema map from a capability `accepts` / `returns` JSON Schema.
|
|
178
94
|
* @category App
|
|
179
95
|
*/
|
|
180
96
|
export function valueSchemasFromCapabilitySchema(schema) {
|
|
181
97
|
const out = new Map();
|
|
182
|
-
if (schema
|
|
98
|
+
if (!isJsonObject(schema))
|
|
183
99
|
return out;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
const hint = valueSchemaFromZod(field);
|
|
187
|
-
if (hint)
|
|
188
|
-
out.set(name, hint);
|
|
189
|
-
}
|
|
100
|
+
const props = schema.properties;
|
|
101
|
+
if (!isJsonObject(props))
|
|
190
102
|
return out;
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
if (props && typeof props === "object" && !Array.isArray(props)) {
|
|
196
|
-
for (const [name, prop] of Object.entries(props)) {
|
|
197
|
-
const hint = valueSchemaFromJsonSchemaProp(prop);
|
|
198
|
-
if (hint)
|
|
199
|
-
out.set(name, hint);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
103
|
+
for (const [name, prop] of Object.entries(props)) {
|
|
104
|
+
const hint = valueSchemaFromJsonSchemaProp(prop);
|
|
105
|
+
if (hint)
|
|
106
|
+
out.set(name, hint);
|
|
202
107
|
}
|
|
203
108
|
return out;
|
|
204
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* Display type label for a JSON Schema property: `file`, the schema `type`, or `unknown`,
|
|
112
|
+
* with a trailing `!` when required.
|
|
113
|
+
* @category App
|
|
114
|
+
*/
|
|
115
|
+
export function typeLabelFromSchema(schema, required) {
|
|
116
|
+
if (schema && isFileValueSchemaHint(schema)) {
|
|
117
|
+
const access = xEcpFileAccess(schema);
|
|
118
|
+
if (access === "url")
|
|
119
|
+
return required ? "url!" : "url";
|
|
120
|
+
return required ? "file!" : "file";
|
|
121
|
+
}
|
|
122
|
+
const type = schema?.type;
|
|
123
|
+
const base = typeof type === "string" ? type : Array.isArray(schema?.enum) ? "enum" : "unknown";
|
|
124
|
+
return required ? `${base}!` : base;
|
|
125
|
+
}
|
|
205
126
|
//# sourceMappingURL=value-schema-hint.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value-schema-hint.js","sourceRoot":"","sources":["../../src/graph/value-schema-hint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"value-schema-hint.js","sourceRoot":"","sources":["../../src/graph/value-schema-hint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAQ/C,MAAM,cAAc,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,UAAU,CAAU,CAAA;AAE3D;;;GAGG;AACH,MAAM,UAAU,sBAAsB;IACpC,OAAO;QACL,YAAY,EAAE,IAAI;QAClB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,GAAG,cAAc,CA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AAC,MAAM,CAAC,EAAE,CAAC;QAC5C,MAAM,MAAM,GAAG,cAAc,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,MAAM,KAAK,KAAK;YAAE,OAAO,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAA;QACtD,OAAO,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAA;IACpC,CAAC;IACD,MAAM,IAAI,GAAG,MAAM,EAAE,IAAI,CAAA;IACzB,MAAM,IAAI,GAAG,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAA;IAC/F,OAAO,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA;AACrC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export { CONFIG_EDITOR_PATH, configFilename } from "./host/config-source.js";
|
|
1
|
+
/**
|
|
2
|
+
* Public API of `@executioncontrolprotocol/app`: the graph encoder, run-status mapping,
|
|
3
|
+
* run form generation and the host API client. The web bundle is built to `dist/web`.
|
|
4
|
+
* @category App
|
|
5
|
+
*/
|
|
7
6
|
export * from "./graph/index.js";
|
|
7
|
+
export * from "./form/run-input-fields.js";
|
|
8
|
+
export * from "./client/index.js";
|
|
9
|
+
export { VERSION } from "./version.js";
|
|
8
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,kBAAkB,CAAA;AAChC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Public API of `@executioncontrolprotocol/app`: the graph encoder, run-status mapping,
|
|
3
|
+
* run form generation and the host API client. The web bundle is built to `dist/web`.
|
|
4
|
+
* @category App
|
|
5
|
+
*/
|
|
5
6
|
export * from "./graph/index.js";
|
|
7
|
+
export * from "./form/run-input-fields.js";
|
|
8
|
+
export * from "./client/index.js";
|
|
9
|
+
export { VERSION } from "./version.js";
|
|
6
10
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,kBAAkB,CAAA;AAChC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,MAEb,CAAA"}
|
package/dist/version.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
/**
|
|
3
|
+
* Package version from this package's `package.json` (single source of truth).
|
|
4
|
+
* @category App
|
|
5
|
+
*/
|
|
6
|
+
export const VERSION = createRequire(import.meta.url)("../package.json").version;
|
|
7
|
+
//# sourceMappingURL=version.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C;;;GAGG;AACH,MAAM,CAAC,MAAM,OAAO,GAClB,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,iBAAiB,CACjD,CAAC,OAAO,CAAA"}
|