@inf-monkeys-tech/monkeys 1.0.19 → 1.0.21
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/lib/contracts/agent.d.ts +513 -0
- package/lib/contracts/agent.d.ts.map +1 -1
- package/lib/contracts/agent.js +155 -1
- package/lib/contracts/agent.js.map +1 -1
- package/lib/contracts/tenant.d.ts +8 -0
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +1 -0
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/esm/contracts/index.mjs +142 -2
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +145 -2
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +123 -2
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +130 -2
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/agent-session-command-result.schema.json +15 -0
- package/lib/json-schema/agent-session-command.schema.json +20 -0
- package/lib/json-schema/agent-session-event.schema.json +179 -0
- package/lib/json-schema/agent-session-run-event.schema.json +1501 -0
- package/lib/json-schema/agent-session-run.schema.json +72 -0
- package/lib/json-schema/agent-session-targeted-command.schema.json +302 -0
- package/lib/json-schema/agent-session-view-model.schema.json +179 -0
- package/lib/json-schema/index.json +3 -0
- package/lib/json-schema/tenant-product-config.schema.json +6 -0
- package/lib/json-schema/tenant-runtime-config.schema.json +6 -0
- package/lib/schemas/index.d.ts +504 -1
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +10 -3
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/test/fixtures/agent-session-runs.json +51 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"runId": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1,
|
|
8
|
+
"maxLength": 256
|
|
9
|
+
},
|
|
10
|
+
"sessionId": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"minLength": 1,
|
|
13
|
+
"maxLength": 256
|
|
14
|
+
},
|
|
15
|
+
"sourceMessageId": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1,
|
|
18
|
+
"maxLength": 256
|
|
19
|
+
},
|
|
20
|
+
"status": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"enum": [
|
|
23
|
+
"queued",
|
|
24
|
+
"running",
|
|
25
|
+
"waiting_approval",
|
|
26
|
+
"stopping",
|
|
27
|
+
"stopped",
|
|
28
|
+
"completed",
|
|
29
|
+
"failed"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"startedAt": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "date-time",
|
|
35
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
36
|
+
},
|
|
37
|
+
"stoppingRequestedAt": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"format": "date-time",
|
|
40
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
41
|
+
},
|
|
42
|
+
"stoppedAt": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": "date-time",
|
|
45
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
46
|
+
},
|
|
47
|
+
"completedAt": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"format": "date-time",
|
|
50
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
51
|
+
},
|
|
52
|
+
"failedAt": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"format": "date-time",
|
|
55
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
56
|
+
},
|
|
57
|
+
"durationMs": {
|
|
58
|
+
"type": "number",
|
|
59
|
+
"minimum": 0
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"runId",
|
|
64
|
+
"sessionId",
|
|
65
|
+
"sourceMessageId",
|
|
66
|
+
"status",
|
|
67
|
+
"startedAt"
|
|
68
|
+
],
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"$id": "https://schemas.infmonkeys.com/contracts/agent-session-run.schema.json",
|
|
71
|
+
"title": "agent-session-run"
|
|
72
|
+
}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"allOf": [
|
|
4
|
+
{
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"contract": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "AgentSessionCommand"
|
|
12
|
+
},
|
|
13
|
+
"commandId": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 1,
|
|
16
|
+
"maxLength": 256
|
|
17
|
+
},
|
|
18
|
+
"sessionId": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 1,
|
|
21
|
+
"maxLength": 256
|
|
22
|
+
},
|
|
23
|
+
"runId": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 1,
|
|
26
|
+
"maxLength": 256
|
|
27
|
+
},
|
|
28
|
+
"idempotencyKey": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"minLength": 1,
|
|
31
|
+
"maxLength": 256
|
|
32
|
+
},
|
|
33
|
+
"expectedSequence": {
|
|
34
|
+
"type": "integer",
|
|
35
|
+
"minimum": -1,
|
|
36
|
+
"maximum": 9007199254740991
|
|
37
|
+
},
|
|
38
|
+
"issuedAt": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": "date-time",
|
|
41
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
42
|
+
},
|
|
43
|
+
"commandType": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"const": "stop"
|
|
46
|
+
},
|
|
47
|
+
"payload": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"reason": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"minLength": 1
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"additionalProperties": false
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": [
|
|
59
|
+
"contract",
|
|
60
|
+
"commandId",
|
|
61
|
+
"sessionId",
|
|
62
|
+
"idempotencyKey",
|
|
63
|
+
"expectedSequence",
|
|
64
|
+
"issuedAt",
|
|
65
|
+
"commandType",
|
|
66
|
+
"payload"
|
|
67
|
+
],
|
|
68
|
+
"additionalProperties": false
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "object",
|
|
72
|
+
"properties": {
|
|
73
|
+
"contract": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"const": "AgentSessionCommand"
|
|
76
|
+
},
|
|
77
|
+
"commandId": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"minLength": 1,
|
|
80
|
+
"maxLength": 256
|
|
81
|
+
},
|
|
82
|
+
"sessionId": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"minLength": 1,
|
|
85
|
+
"maxLength": 256
|
|
86
|
+
},
|
|
87
|
+
"runId": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"minLength": 1,
|
|
90
|
+
"maxLength": 256
|
|
91
|
+
},
|
|
92
|
+
"idempotencyKey": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"minLength": 1,
|
|
95
|
+
"maxLength": 256
|
|
96
|
+
},
|
|
97
|
+
"expectedSequence": {
|
|
98
|
+
"type": "integer",
|
|
99
|
+
"minimum": -1,
|
|
100
|
+
"maximum": 9007199254740991
|
|
101
|
+
},
|
|
102
|
+
"issuedAt": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"format": "date-time",
|
|
105
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
106
|
+
},
|
|
107
|
+
"commandType": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"const": "resume"
|
|
110
|
+
},
|
|
111
|
+
"payload": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"properties": {
|
|
114
|
+
"resumeEventId": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"minLength": 1,
|
|
117
|
+
"maxLength": 256
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"additionalProperties": false
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": [
|
|
124
|
+
"contract",
|
|
125
|
+
"commandId",
|
|
126
|
+
"sessionId",
|
|
127
|
+
"idempotencyKey",
|
|
128
|
+
"expectedSequence",
|
|
129
|
+
"issuedAt",
|
|
130
|
+
"commandType",
|
|
131
|
+
"payload"
|
|
132
|
+
],
|
|
133
|
+
"additionalProperties": false
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "object",
|
|
137
|
+
"properties": {
|
|
138
|
+
"contract": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"const": "AgentSessionCommand"
|
|
141
|
+
},
|
|
142
|
+
"commandId": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"minLength": 1,
|
|
145
|
+
"maxLength": 256
|
|
146
|
+
},
|
|
147
|
+
"sessionId": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"minLength": 1,
|
|
150
|
+
"maxLength": 256
|
|
151
|
+
},
|
|
152
|
+
"runId": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"minLength": 1,
|
|
155
|
+
"maxLength": 256
|
|
156
|
+
},
|
|
157
|
+
"idempotencyKey": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"minLength": 1,
|
|
160
|
+
"maxLength": 256
|
|
161
|
+
},
|
|
162
|
+
"expectedSequence": {
|
|
163
|
+
"type": "integer",
|
|
164
|
+
"minimum": -1,
|
|
165
|
+
"maximum": 9007199254740991
|
|
166
|
+
},
|
|
167
|
+
"issuedAt": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"format": "date-time",
|
|
170
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
171
|
+
},
|
|
172
|
+
"commandType": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"const": "retry"
|
|
175
|
+
},
|
|
176
|
+
"payload": {
|
|
177
|
+
"type": "object",
|
|
178
|
+
"properties": {
|
|
179
|
+
"sourceEventId": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"minLength": 1,
|
|
182
|
+
"maxLength": 256
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"required": [
|
|
186
|
+
"sourceEventId"
|
|
187
|
+
],
|
|
188
|
+
"additionalProperties": false
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"required": [
|
|
192
|
+
"contract",
|
|
193
|
+
"commandId",
|
|
194
|
+
"sessionId",
|
|
195
|
+
"idempotencyKey",
|
|
196
|
+
"expectedSequence",
|
|
197
|
+
"issuedAt",
|
|
198
|
+
"commandType",
|
|
199
|
+
"payload"
|
|
200
|
+
],
|
|
201
|
+
"additionalProperties": false
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"type": "object",
|
|
205
|
+
"properties": {
|
|
206
|
+
"contract": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"const": "AgentSessionCommand"
|
|
209
|
+
},
|
|
210
|
+
"commandId": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"minLength": 1,
|
|
213
|
+
"maxLength": 256
|
|
214
|
+
},
|
|
215
|
+
"sessionId": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"minLength": 1,
|
|
218
|
+
"maxLength": 256
|
|
219
|
+
},
|
|
220
|
+
"runId": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"minLength": 1,
|
|
223
|
+
"maxLength": 256
|
|
224
|
+
},
|
|
225
|
+
"idempotencyKey": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"minLength": 1,
|
|
228
|
+
"maxLength": 256
|
|
229
|
+
},
|
|
230
|
+
"expectedSequence": {
|
|
231
|
+
"type": "integer",
|
|
232
|
+
"minimum": -1,
|
|
233
|
+
"maximum": 9007199254740991
|
|
234
|
+
},
|
|
235
|
+
"issuedAt": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"format": "date-time",
|
|
238
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
239
|
+
},
|
|
240
|
+
"commandType": {
|
|
241
|
+
"type": "string",
|
|
242
|
+
"const": "approval"
|
|
243
|
+
},
|
|
244
|
+
"payload": {
|
|
245
|
+
"type": "object",
|
|
246
|
+
"properties": {
|
|
247
|
+
"approvalId": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"minLength": 1,
|
|
250
|
+
"maxLength": 256
|
|
251
|
+
},
|
|
252
|
+
"decision": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"enum": [
|
|
255
|
+
"approved",
|
|
256
|
+
"rejected"
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
"reason": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"minLength": 1
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"required": [
|
|
265
|
+
"approvalId",
|
|
266
|
+
"decision"
|
|
267
|
+
],
|
|
268
|
+
"additionalProperties": false
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"required": [
|
|
272
|
+
"contract",
|
|
273
|
+
"commandId",
|
|
274
|
+
"sessionId",
|
|
275
|
+
"idempotencyKey",
|
|
276
|
+
"expectedSequence",
|
|
277
|
+
"issuedAt",
|
|
278
|
+
"commandType",
|
|
279
|
+
"payload"
|
|
280
|
+
],
|
|
281
|
+
"additionalProperties": false
|
|
282
|
+
}
|
|
283
|
+
]
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"type": "object",
|
|
287
|
+
"properties": {
|
|
288
|
+
"runId": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"minLength": 1,
|
|
291
|
+
"maxLength": 256
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"required": [
|
|
295
|
+
"runId"
|
|
296
|
+
],
|
|
297
|
+
"additionalProperties": false
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"$id": "https://schemas.infmonkeys.com/contracts/agent-session-targeted-command.schema.json",
|
|
301
|
+
"title": "agent-session-targeted-command"
|
|
302
|
+
}
|
|
@@ -159,6 +159,16 @@
|
|
|
159
159
|
"minLength": 1,
|
|
160
160
|
"maxLength": 256
|
|
161
161
|
},
|
|
162
|
+
"runId": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"minLength": 1,
|
|
165
|
+
"maxLength": 256
|
|
166
|
+
},
|
|
167
|
+
"sourceMessageId": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"minLength": 1,
|
|
170
|
+
"maxLength": 256
|
|
171
|
+
},
|
|
162
172
|
"sequence": {
|
|
163
173
|
"type": "integer",
|
|
164
174
|
"minimum": 0,
|
|
@@ -255,6 +265,16 @@
|
|
|
255
265
|
"minLength": 1,
|
|
256
266
|
"maxLength": 256
|
|
257
267
|
},
|
|
268
|
+
"runId": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"minLength": 1,
|
|
271
|
+
"maxLength": 256
|
|
272
|
+
},
|
|
273
|
+
"sourceMessageId": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"minLength": 1,
|
|
276
|
+
"maxLength": 256
|
|
277
|
+
},
|
|
258
278
|
"sequence": {
|
|
259
279
|
"type": "integer",
|
|
260
280
|
"minimum": 0,
|
|
@@ -330,6 +350,16 @@
|
|
|
330
350
|
"minLength": 1,
|
|
331
351
|
"maxLength": 256
|
|
332
352
|
},
|
|
353
|
+
"runId": {
|
|
354
|
+
"type": "string",
|
|
355
|
+
"minLength": 1,
|
|
356
|
+
"maxLength": 256
|
|
357
|
+
},
|
|
358
|
+
"sourceMessageId": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"minLength": 1,
|
|
361
|
+
"maxLength": 256
|
|
362
|
+
},
|
|
333
363
|
"sequence": {
|
|
334
364
|
"type": "integer",
|
|
335
365
|
"minimum": 0,
|
|
@@ -439,6 +469,16 @@
|
|
|
439
469
|
"minLength": 1,
|
|
440
470
|
"maxLength": 256
|
|
441
471
|
},
|
|
472
|
+
"runId": {
|
|
473
|
+
"type": "string",
|
|
474
|
+
"minLength": 1,
|
|
475
|
+
"maxLength": 256
|
|
476
|
+
},
|
|
477
|
+
"sourceMessageId": {
|
|
478
|
+
"type": "string",
|
|
479
|
+
"minLength": 1,
|
|
480
|
+
"maxLength": 256
|
|
481
|
+
},
|
|
442
482
|
"sequence": {
|
|
443
483
|
"type": "integer",
|
|
444
484
|
"minimum": 0,
|
|
@@ -520,6 +560,16 @@
|
|
|
520
560
|
"minLength": 1,
|
|
521
561
|
"maxLength": 256
|
|
522
562
|
},
|
|
563
|
+
"runId": {
|
|
564
|
+
"type": "string",
|
|
565
|
+
"minLength": 1,
|
|
566
|
+
"maxLength": 256
|
|
567
|
+
},
|
|
568
|
+
"sourceMessageId": {
|
|
569
|
+
"type": "string",
|
|
570
|
+
"minLength": 1,
|
|
571
|
+
"maxLength": 256
|
|
572
|
+
},
|
|
523
573
|
"sequence": {
|
|
524
574
|
"type": "integer",
|
|
525
575
|
"minimum": 0,
|
|
@@ -618,6 +668,16 @@
|
|
|
618
668
|
"minLength": 1,
|
|
619
669
|
"maxLength": 256
|
|
620
670
|
},
|
|
671
|
+
"runId": {
|
|
672
|
+
"type": "string",
|
|
673
|
+
"minLength": 1,
|
|
674
|
+
"maxLength": 256
|
|
675
|
+
},
|
|
676
|
+
"sourceMessageId": {
|
|
677
|
+
"type": "string",
|
|
678
|
+
"minLength": 1,
|
|
679
|
+
"maxLength": 256
|
|
680
|
+
},
|
|
621
681
|
"sequence": {
|
|
622
682
|
"type": "integer",
|
|
623
683
|
"minimum": 0,
|
|
@@ -706,6 +766,16 @@
|
|
|
706
766
|
"minLength": 1,
|
|
707
767
|
"maxLength": 256
|
|
708
768
|
},
|
|
769
|
+
"runId": {
|
|
770
|
+
"type": "string",
|
|
771
|
+
"minLength": 1,
|
|
772
|
+
"maxLength": 256
|
|
773
|
+
},
|
|
774
|
+
"sourceMessageId": {
|
|
775
|
+
"type": "string",
|
|
776
|
+
"minLength": 1,
|
|
777
|
+
"maxLength": 256
|
|
778
|
+
},
|
|
709
779
|
"sequence": {
|
|
710
780
|
"type": "integer",
|
|
711
781
|
"minimum": 0,
|
|
@@ -742,6 +812,35 @@
|
|
|
742
812
|
},
|
|
743
813
|
"detail": {
|
|
744
814
|
"type": "string"
|
|
815
|
+
},
|
|
816
|
+
"startedAt": {
|
|
817
|
+
"type": "string",
|
|
818
|
+
"format": "date-time",
|
|
819
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
820
|
+
},
|
|
821
|
+
"stoppingRequestedAt": {
|
|
822
|
+
"type": "string",
|
|
823
|
+
"format": "date-time",
|
|
824
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
825
|
+
},
|
|
826
|
+
"stoppedAt": {
|
|
827
|
+
"type": "string",
|
|
828
|
+
"format": "date-time",
|
|
829
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
830
|
+
},
|
|
831
|
+
"completedAt": {
|
|
832
|
+
"type": "string",
|
|
833
|
+
"format": "date-time",
|
|
834
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
835
|
+
},
|
|
836
|
+
"failedAt": {
|
|
837
|
+
"type": "string",
|
|
838
|
+
"format": "date-time",
|
|
839
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
840
|
+
},
|
|
841
|
+
"durationMs": {
|
|
842
|
+
"type": "number",
|
|
843
|
+
"minimum": 0
|
|
745
844
|
}
|
|
746
845
|
},
|
|
747
846
|
"required": [
|
|
@@ -779,6 +878,16 @@
|
|
|
779
878
|
"minLength": 1,
|
|
780
879
|
"maxLength": 256
|
|
781
880
|
},
|
|
881
|
+
"runId": {
|
|
882
|
+
"type": "string",
|
|
883
|
+
"minLength": 1,
|
|
884
|
+
"maxLength": 256
|
|
885
|
+
},
|
|
886
|
+
"sourceMessageId": {
|
|
887
|
+
"type": "string",
|
|
888
|
+
"minLength": 1,
|
|
889
|
+
"maxLength": 256
|
|
890
|
+
},
|
|
782
891
|
"sequence": {
|
|
783
892
|
"type": "integer",
|
|
784
893
|
"minimum": 0,
|
|
@@ -885,6 +994,16 @@
|
|
|
885
994
|
"minLength": 1,
|
|
886
995
|
"maxLength": 256
|
|
887
996
|
},
|
|
997
|
+
"runId": {
|
|
998
|
+
"type": "string",
|
|
999
|
+
"minLength": 1,
|
|
1000
|
+
"maxLength": 256
|
|
1001
|
+
},
|
|
1002
|
+
"sourceMessageId": {
|
|
1003
|
+
"type": "string",
|
|
1004
|
+
"minLength": 1,
|
|
1005
|
+
"maxLength": 256
|
|
1006
|
+
},
|
|
888
1007
|
"sequence": {
|
|
889
1008
|
"type": "integer",
|
|
890
1009
|
"minimum": 0,
|
|
@@ -965,6 +1084,16 @@
|
|
|
965
1084
|
"minLength": 1,
|
|
966
1085
|
"maxLength": 256
|
|
967
1086
|
},
|
|
1087
|
+
"runId": {
|
|
1088
|
+
"type": "string",
|
|
1089
|
+
"minLength": 1,
|
|
1090
|
+
"maxLength": 256
|
|
1091
|
+
},
|
|
1092
|
+
"sourceMessageId": {
|
|
1093
|
+
"type": "string",
|
|
1094
|
+
"minLength": 1,
|
|
1095
|
+
"maxLength": 256
|
|
1096
|
+
},
|
|
968
1097
|
"sequence": {
|
|
969
1098
|
"type": "integer",
|
|
970
1099
|
"minimum": 0,
|
|
@@ -1038,6 +1167,16 @@
|
|
|
1038
1167
|
"minLength": 1,
|
|
1039
1168
|
"maxLength": 256
|
|
1040
1169
|
},
|
|
1170
|
+
"runId": {
|
|
1171
|
+
"type": "string",
|
|
1172
|
+
"minLength": 1,
|
|
1173
|
+
"maxLength": 256
|
|
1174
|
+
},
|
|
1175
|
+
"sourceMessageId": {
|
|
1176
|
+
"type": "string",
|
|
1177
|
+
"minLength": 1,
|
|
1178
|
+
"maxLength": 256
|
|
1179
|
+
},
|
|
1041
1180
|
"sequence": {
|
|
1042
1181
|
"type": "integer",
|
|
1043
1182
|
"minimum": 0,
|
|
@@ -1122,6 +1261,16 @@
|
|
|
1122
1261
|
"minLength": 1,
|
|
1123
1262
|
"maxLength": 256
|
|
1124
1263
|
},
|
|
1264
|
+
"runId": {
|
|
1265
|
+
"type": "string",
|
|
1266
|
+
"minLength": 1,
|
|
1267
|
+
"maxLength": 256
|
|
1268
|
+
},
|
|
1269
|
+
"sourceMessageId": {
|
|
1270
|
+
"type": "string",
|
|
1271
|
+
"minLength": 1,
|
|
1272
|
+
"maxLength": 256
|
|
1273
|
+
},
|
|
1125
1274
|
"sequence": {
|
|
1126
1275
|
"type": "integer",
|
|
1127
1276
|
"minimum": 0,
|
|
@@ -1197,6 +1346,16 @@
|
|
|
1197
1346
|
"minLength": 1,
|
|
1198
1347
|
"maxLength": 256
|
|
1199
1348
|
},
|
|
1349
|
+
"runId": {
|
|
1350
|
+
"type": "string",
|
|
1351
|
+
"minLength": 1,
|
|
1352
|
+
"maxLength": 256
|
|
1353
|
+
},
|
|
1354
|
+
"sourceMessageId": {
|
|
1355
|
+
"type": "string",
|
|
1356
|
+
"minLength": 1,
|
|
1357
|
+
"maxLength": 256
|
|
1358
|
+
},
|
|
1200
1359
|
"sequence": {
|
|
1201
1360
|
"type": "integer",
|
|
1202
1361
|
"minimum": 0,
|
|
@@ -1275,6 +1434,16 @@
|
|
|
1275
1434
|
"minLength": 1,
|
|
1276
1435
|
"maxLength": 256
|
|
1277
1436
|
},
|
|
1437
|
+
"runId": {
|
|
1438
|
+
"type": "string",
|
|
1439
|
+
"minLength": 1,
|
|
1440
|
+
"maxLength": 256
|
|
1441
|
+
},
|
|
1442
|
+
"sourceMessageId": {
|
|
1443
|
+
"type": "string",
|
|
1444
|
+
"minLength": 1,
|
|
1445
|
+
"maxLength": 256
|
|
1446
|
+
},
|
|
1278
1447
|
"sequence": {
|
|
1279
1448
|
"type": "integer",
|
|
1280
1449
|
"minimum": 0,
|
|
@@ -1357,6 +1526,16 @@
|
|
|
1357
1526
|
"minLength": 1,
|
|
1358
1527
|
"maxLength": 256
|
|
1359
1528
|
},
|
|
1529
|
+
"runId": {
|
|
1530
|
+
"type": "string",
|
|
1531
|
+
"minLength": 1,
|
|
1532
|
+
"maxLength": 256
|
|
1533
|
+
},
|
|
1534
|
+
"sourceMessageId": {
|
|
1535
|
+
"type": "string",
|
|
1536
|
+
"minLength": 1,
|
|
1537
|
+
"maxLength": 256
|
|
1538
|
+
},
|
|
1360
1539
|
"sequence": {
|
|
1361
1540
|
"type": "integer",
|
|
1362
1541
|
"minimum": 0,
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemas": {
|
|
3
3
|
"agent-session-command": "./agent-session-command.schema.json",
|
|
4
|
+
"agent-session-targeted-command": "./agent-session-targeted-command.schema.json",
|
|
4
5
|
"agent-session-command-result": "./agent-session-command-result.schema.json",
|
|
5
6
|
"agent-session-event": "./agent-session-event.schema.json",
|
|
7
|
+
"agent-session-run-event": "./agent-session-run-event.schema.json",
|
|
8
|
+
"agent-session-run": "./agent-session-run.schema.json",
|
|
6
9
|
"agent-session-view-model": "./agent-session-view-model.schema.json",
|
|
7
10
|
"agent-runtime-event": "./agent-runtime-event.schema.json",
|
|
8
11
|
"application-run": "./application-run.schema.json",
|
|
@@ -598,6 +598,9 @@
|
|
|
598
598
|
"showSidebar": {
|
|
599
599
|
"type": "boolean"
|
|
600
600
|
},
|
|
601
|
+
"showContentFrame": {
|
|
602
|
+
"type": "boolean"
|
|
603
|
+
},
|
|
601
604
|
"children": {
|
|
602
605
|
"type": "array",
|
|
603
606
|
"items": {
|
|
@@ -642,6 +645,9 @@
|
|
|
642
645
|
},
|
|
643
646
|
"showSidebar": {
|
|
644
647
|
"type": "boolean"
|
|
648
|
+
},
|
|
649
|
+
"showContentFrame": {
|
|
650
|
+
"type": "boolean"
|
|
645
651
|
}
|
|
646
652
|
},
|
|
647
653
|
"required": [
|