@executioncontrolprotocol/types 0.10.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 +16 -0
- package/dist/capabilities.d.ts +31 -0
- package/dist/capabilities.d.ts.map +1 -0
- package/dist/capabilities.js +2 -0
- package/dist/capabilities.js.map +1 -0
- package/dist/encoding.d.ts +99 -0
- package/dist/encoding.d.ts.map +1 -0
- package/dist/encoding.js +25 -0
- package/dist/encoding.js.map +1 -0
- package/dist/environment.d.ts +132 -0
- package/dist/environment.d.ts.map +1 -0
- package/dist/environment.js +2 -0
- package/dist/environment.js.map +1 -0
- package/dist/harness-feedback.d.ts +43 -0
- package/dist/harness-feedback.d.ts.map +1 -0
- package/dist/harness-feedback.js +2 -0
- package/dist/harness-feedback.js.map +1 -0
- package/dist/harness-reply.d.ts +63 -0
- package/dist/harness-reply.d.ts.map +1 -0
- package/dist/harness-reply.js +30 -0
- package/dist/harness-reply.js.map +1 -0
- package/dist/harness-run-context.d.ts +228 -0
- package/dist/harness-run-context.d.ts.map +1 -0
- package/dist/harness-run-context.js +35 -0
- package/dist/harness-run-context.js.map +1 -0
- package/dist/harness-tasks.d.ts +403 -0
- package/dist/harness-tasks.d.ts.map +1 -0
- package/dist/harness-tasks.js +50 -0
- package/dist/harness-tasks.js.map +1 -0
- package/dist/harness.d.ts +118 -0
- package/dist/harness.d.ts.map +1 -0
- package/dist/harness.js +34 -0
- package/dist/harness.js.map +1 -0
- package/dist/image.d.ts +150 -0
- package/dist/image.d.ts.map +1 -0
- package/dist/image.js +46 -0
- package/dist/image.js.map +1 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -0
- package/dist/intent.d.ts +35 -0
- package/dist/intent.d.ts.map +1 -0
- package/dist/intent.js +26 -0
- package/dist/intent.js.map +1 -0
- package/dist/invoke.d.ts +44 -0
- package/dist/invoke.d.ts.map +1 -0
- package/dist/invoke.js +9 -0
- package/dist/invoke.js.map +1 -0
- package/dist/lifecycle.d.ts +27 -0
- package/dist/lifecycle.d.ts.map +1 -0
- package/dist/lifecycle.js +2 -0
- package/dist/lifecycle.js.map +1 -0
- package/dist/model.d.ts +57 -0
- package/dist/model.d.ts.map +1 -0
- package/dist/model.js +32 -0
- package/dist/model.js.map +1 -0
- package/dist/patch-errors.d.ts +11 -0
- package/dist/patch-errors.d.ts.map +1 -0
- package/dist/patch-errors.js +9 -0
- package/dist/patch-errors.js.map +1 -0
- package/dist/patch.d.ts +51 -0
- package/dist/patch.d.ts.map +1 -0
- package/dist/patch.js +2 -0
- package/dist/patch.js.map +1 -0
- package/dist/registry.d.ts +24 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +2 -0
- package/dist/registry.js.map +1 -0
- package/dist/run.d.ts +35 -0
- package/dist/run.d.ts.map +1 -0
- package/dist/run.js +2 -0
- package/dist/run.js.map +1 -0
- package/dist/schema.d.ts +67 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/schema.js +2 -0
- package/dist/schema.js.map +1 -0
- package/dist/schemas/decode.result.json +155 -0
- package/dist/schemas/encode.result.json +162 -0
- package/dist/schemas/environment.describe.json +210 -0
- package/dist/schemas/environment.manifest.json +159 -0
- package/dist/schemas/environment.search.json +72 -0
- package/dist/schemas/patch.json +104 -0
- package/dist/schemas/patch.result.json +260 -0
- package/dist/schemas/run.request.json +485 -0
- package/dist/schemas/run.result.json +170 -0
- package/dist/schemas/validation.result.json +89 -0
- package/dist/schemas/workflow.manifest.json +451 -0
- package/dist/store.d.ts +30 -0
- package/dist/store.d.ts.map +1 -0
- package/dist/store.js +2 -0
- package/dist/store.js.map +1 -0
- package/dist/validation.d.ts +20 -0
- package/dist/validation.d.ts.map +1 -0
- package/dist/validation.js +2 -0
- package/dist/validation.js.map +1 -0
- package/dist/version.d.ts +5 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +3 -0
- package/dist/version.js.map +1 -0
- package/dist/workflow.d.ts +55 -0
- package/dist/workflow.d.ts.map +1 -0
- package/dist/workflow.js +2 -0
- package/dist/workflow.js.map +1 -0
- package/package.json +33 -0
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/PatchResultDocument",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"PatchResultDocument": {
|
|
6
|
+
"$ref": "#/definitions/PatchResult%3Cunknown%3E",
|
|
7
|
+
"description": "Concrete patch result for schema generation.",
|
|
8
|
+
"category": "Patch"
|
|
9
|
+
},
|
|
10
|
+
"PatchResult<unknown>": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"schema": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"const": "@executioncontrolprotocol.patch.result"
|
|
16
|
+
},
|
|
17
|
+
"version": {
|
|
18
|
+
"$ref": "#/definitions/EcpVersion"
|
|
19
|
+
},
|
|
20
|
+
"success": {
|
|
21
|
+
"type": "boolean"
|
|
22
|
+
},
|
|
23
|
+
"targetSchema": {
|
|
24
|
+
"$ref": "#/definitions/EcpSchema"
|
|
25
|
+
},
|
|
26
|
+
"targetVersion": {
|
|
27
|
+
"$ref": "#/definitions/EcpVersion"
|
|
28
|
+
},
|
|
29
|
+
"result": {},
|
|
30
|
+
"patch": {
|
|
31
|
+
"$ref": "#/definitions/EcpPatchDocument"
|
|
32
|
+
},
|
|
33
|
+
"applied": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"$ref": "#/definitions/AppliedPatchEntry"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"validation": {
|
|
40
|
+
"$ref": "#/definitions/ValidationResult"
|
|
41
|
+
},
|
|
42
|
+
"diagnostics": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"$ref": "#/definitions/ValidationIssue"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": [
|
|
50
|
+
"schema",
|
|
51
|
+
"version",
|
|
52
|
+
"success",
|
|
53
|
+
"targetSchema",
|
|
54
|
+
"applied",
|
|
55
|
+
"diagnostics"
|
|
56
|
+
],
|
|
57
|
+
"additionalProperties": false,
|
|
58
|
+
"description": "Result from `ecp.patch(...).process()`.",
|
|
59
|
+
"category": "Patch"
|
|
60
|
+
},
|
|
61
|
+
"EcpVersion": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "ECP semantic version literal.",
|
|
64
|
+
"category": "Common"
|
|
65
|
+
},
|
|
66
|
+
"EcpSchema": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"enum": [
|
|
69
|
+
"@executioncontrolprotocol.workflow",
|
|
70
|
+
"@executioncontrolprotocol.environment",
|
|
71
|
+
"@executioncontrolprotocol.environment.describe",
|
|
72
|
+
"@executioncontrolprotocol.environment.search",
|
|
73
|
+
"@executioncontrolprotocol.run.request",
|
|
74
|
+
"@executioncontrolprotocol.run.result",
|
|
75
|
+
"@executioncontrolprotocol.run.event",
|
|
76
|
+
"@executioncontrolprotocol.validation.result",
|
|
77
|
+
"@executioncontrolprotocol.patch",
|
|
78
|
+
"@executioncontrolprotocol.patch.result",
|
|
79
|
+
"@executioncontrolprotocol.encode.result",
|
|
80
|
+
"@executioncontrolprotocol.decode.result",
|
|
81
|
+
"@executioncontrolprotocol.intent",
|
|
82
|
+
"@executioncontrolprotocol.harness.reply"
|
|
83
|
+
],
|
|
84
|
+
"description": "Serialized object schema discriminator.",
|
|
85
|
+
"category": "Common"
|
|
86
|
+
},
|
|
87
|
+
"EcpPatchDocument": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"properties": {
|
|
90
|
+
"schema": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"const": "@executioncontrolprotocol.patch"
|
|
93
|
+
},
|
|
94
|
+
"version": {
|
|
95
|
+
"$ref": "#/definitions/EcpVersion"
|
|
96
|
+
},
|
|
97
|
+
"targetSchema": {
|
|
98
|
+
"$ref": "#/definitions/EcpSchema"
|
|
99
|
+
},
|
|
100
|
+
"patches": {
|
|
101
|
+
"type": "array",
|
|
102
|
+
"items": {
|
|
103
|
+
"$ref": "#/definitions/EcpPatchEntry"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"required": [
|
|
108
|
+
"schema",
|
|
109
|
+
"version",
|
|
110
|
+
"targetSchema",
|
|
111
|
+
"patches"
|
|
112
|
+
],
|
|
113
|
+
"additionalProperties": false,
|
|
114
|
+
"description": "Canonical patch document.",
|
|
115
|
+
"category": "Patch"
|
|
116
|
+
},
|
|
117
|
+
"EcpPatchEntry": {
|
|
118
|
+
"type": "object",
|
|
119
|
+
"properties": {
|
|
120
|
+
"path": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"description": "ECP path using `steps[<stepId>]` (not labels)."
|
|
123
|
+
},
|
|
124
|
+
"mode": {
|
|
125
|
+
"$ref": "#/definitions/PatchMode",
|
|
126
|
+
"description": "Defaults to `merge`."
|
|
127
|
+
},
|
|
128
|
+
"value": {
|
|
129
|
+
"description": "Partial or full JSON value."
|
|
130
|
+
},
|
|
131
|
+
"reason": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "Optional audit reason."
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"required": [
|
|
137
|
+
"path",
|
|
138
|
+
"value"
|
|
139
|
+
],
|
|
140
|
+
"additionalProperties": false,
|
|
141
|
+
"description": "Single patch entry.",
|
|
142
|
+
"category": "Patch"
|
|
143
|
+
},
|
|
144
|
+
"PatchMode": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"enum": [
|
|
147
|
+
"merge",
|
|
148
|
+
"replace"
|
|
149
|
+
],
|
|
150
|
+
"description": "Patch merge mode.",
|
|
151
|
+
"category": "Patch"
|
|
152
|
+
},
|
|
153
|
+
"AppliedPatchEntry": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"properties": {
|
|
156
|
+
"path": {
|
|
157
|
+
"type": "string"
|
|
158
|
+
},
|
|
159
|
+
"mode": {
|
|
160
|
+
"$ref": "#/definitions/PatchMode"
|
|
161
|
+
},
|
|
162
|
+
"success": {
|
|
163
|
+
"type": "boolean"
|
|
164
|
+
},
|
|
165
|
+
"diagnostics": {
|
|
166
|
+
"type": "array",
|
|
167
|
+
"items": {
|
|
168
|
+
"$ref": "#/definitions/ValidationIssue"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"required": [
|
|
173
|
+
"path",
|
|
174
|
+
"mode",
|
|
175
|
+
"success"
|
|
176
|
+
],
|
|
177
|
+
"additionalProperties": false,
|
|
178
|
+
"description": "Applied patch entry record.",
|
|
179
|
+
"category": "Patch"
|
|
180
|
+
},
|
|
181
|
+
"ValidationIssue": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"properties": {
|
|
184
|
+
"code": {
|
|
185
|
+
"type": "string"
|
|
186
|
+
},
|
|
187
|
+
"message": {
|
|
188
|
+
"type": "string"
|
|
189
|
+
},
|
|
190
|
+
"path": {
|
|
191
|
+
"type": "string"
|
|
192
|
+
},
|
|
193
|
+
"suggestions": {
|
|
194
|
+
"type": "array",
|
|
195
|
+
"items": {
|
|
196
|
+
"type": "string"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"severity": {
|
|
200
|
+
"$ref": "#/definitions/ValidationSeverity"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"required": [
|
|
204
|
+
"code",
|
|
205
|
+
"message"
|
|
206
|
+
],
|
|
207
|
+
"additionalProperties": false,
|
|
208
|
+
"description": "Single validation issue.",
|
|
209
|
+
"category": "Validation"
|
|
210
|
+
},
|
|
211
|
+
"ValidationSeverity": {
|
|
212
|
+
"type": "string",
|
|
213
|
+
"enum": [
|
|
214
|
+
"error",
|
|
215
|
+
"warning",
|
|
216
|
+
"info"
|
|
217
|
+
],
|
|
218
|
+
"description": "Validation issue severity.",
|
|
219
|
+
"category": "Validation"
|
|
220
|
+
},
|
|
221
|
+
"ValidationResult": {
|
|
222
|
+
"type": "object",
|
|
223
|
+
"properties": {
|
|
224
|
+
"schema": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"const": "@executioncontrolprotocol.validation.result"
|
|
227
|
+
},
|
|
228
|
+
"version": {
|
|
229
|
+
"$ref": "#/definitions/EcpVersion"
|
|
230
|
+
},
|
|
231
|
+
"valid": {
|
|
232
|
+
"type": "boolean"
|
|
233
|
+
},
|
|
234
|
+
"errors": {
|
|
235
|
+
"type": "array",
|
|
236
|
+
"items": {
|
|
237
|
+
"$ref": "#/definitions/ValidationIssue"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"warnings": {
|
|
241
|
+
"type": "array",
|
|
242
|
+
"items": {
|
|
243
|
+
"$ref": "#/definitions/ValidationIssue"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"required": [
|
|
248
|
+
"schema",
|
|
249
|
+
"version",
|
|
250
|
+
"valid",
|
|
251
|
+
"errors",
|
|
252
|
+
"warnings"
|
|
253
|
+
],
|
|
254
|
+
"additionalProperties": false,
|
|
255
|
+
"description": "Validation result document.",
|
|
256
|
+
"category": "Validation"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"$id": "https://ecp.dev/schemas/patch.result.json"
|
|
260
|
+
}
|