@miao-ai/protocol 0.1.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.
@@ -0,0 +1,511 @@
1
+ // Generated by scripts/generate-runtime-protocol.mjs. Do not edit.
2
+ export const RUNTIME_PROTOCOL_SCHEMA_SHA256 = "fdf7439605a3a20a88da4ac89a1b92bc2a880c112f116ffa006b8d5765bb678b";
3
+ export const runtimeV1Schema = {
4
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
5
+ "title": "Miao Runtime Protocol v1",
6
+ "oneOf": [
7
+ {
8
+ "type": "object",
9
+ "required": [
10
+ "type",
11
+ "protocol",
12
+ "requestId",
13
+ "operation",
14
+ "payload"
15
+ ],
16
+ "properties": {
17
+ "type": {
18
+ "const": "request"
19
+ },
20
+ "protocol": {
21
+ "const": "miao.runtime/v1"
22
+ },
23
+ "requestId": {
24
+ "type": "string",
25
+ "minLength": 1
26
+ },
27
+ "operation": {
28
+ "enum": [
29
+ "runtime.describe",
30
+ "apps.register",
31
+ "apps.list",
32
+ "agents.list",
33
+ "agents.launch",
34
+ "runs.start",
35
+ "runs.get",
36
+ "runs.pause",
37
+ "runs.resume",
38
+ "runs.cancel",
39
+ "runs.signal",
40
+ "events.subscribe",
41
+ "events.unsubscribe",
42
+ "approvals.list",
43
+ "approvals.decide",
44
+ "capabilities.register",
45
+ "capabilities.renew",
46
+ "capabilities.unregister",
47
+ "state.get",
48
+ "state.put",
49
+ "memory.list",
50
+ "memory.remember",
51
+ "memory.forget",
52
+ "artifacts.list",
53
+ "artifacts.get",
54
+ "scheduler.list",
55
+ "scheduler.create",
56
+ "scheduler.pause",
57
+ "scheduler.resume",
58
+ "scheduler.delete",
59
+ "scheduler.history",
60
+ "skills.list",
61
+ "skills.reload",
62
+ "mcp.list",
63
+ "mcp.reload",
64
+ "plugins.list",
65
+ "plugins.install",
66
+ "plugins.set_enabled",
67
+ "bindings.list",
68
+ "bindings.create",
69
+ "messages.deliver",
70
+ "delegations.create",
71
+ "gateway.serve",
72
+ "triggers.create",
73
+ "workbench.open"
74
+ ]
75
+ },
76
+ "payload": {}
77
+ },
78
+ "additionalProperties": true
79
+ },
80
+ {
81
+ "type": "object",
82
+ "required": [
83
+ "type",
84
+ "protocol",
85
+ "requestId",
86
+ "status"
87
+ ],
88
+ "properties": {
89
+ "type": {
90
+ "const": "response"
91
+ },
92
+ "protocol": {
93
+ "const": "miao.runtime/v1"
94
+ },
95
+ "requestId": {
96
+ "type": "string",
97
+ "minLength": 1
98
+ },
99
+ "status": {
100
+ "enum": [
101
+ "success",
102
+ "error"
103
+ ]
104
+ },
105
+ "result": {},
106
+ "error": {
107
+ "type": "object",
108
+ "required": [
109
+ "code",
110
+ "message",
111
+ "retryable"
112
+ ],
113
+ "properties": {
114
+ "code": {
115
+ "type": "string",
116
+ "minLength": 1
117
+ },
118
+ "message": {
119
+ "type": "string"
120
+ },
121
+ "retryable": {
122
+ "type": "boolean"
123
+ },
124
+ "runId": {
125
+ "type": "string",
126
+ "minLength": 1
127
+ },
128
+ "details": {}
129
+ },
130
+ "additionalProperties": true
131
+ }
132
+ },
133
+ "allOf": [
134
+ {
135
+ "if": {
136
+ "properties": {
137
+ "status": {
138
+ "const": "success"
139
+ }
140
+ }
141
+ },
142
+ "then": {
143
+ "required": [
144
+ "result"
145
+ ]
146
+ }
147
+ },
148
+ {
149
+ "if": {
150
+ "properties": {
151
+ "status": {
152
+ "const": "error"
153
+ }
154
+ }
155
+ },
156
+ "then": {
157
+ "required": [
158
+ "error"
159
+ ]
160
+ }
161
+ }
162
+ ],
163
+ "additionalProperties": true
164
+ },
165
+ {
166
+ "type": "object",
167
+ "required": [
168
+ "type",
169
+ "protocol",
170
+ "subscriptionId",
171
+ "sequence",
172
+ "event"
173
+ ],
174
+ "properties": {
175
+ "type": {
176
+ "const": "event"
177
+ },
178
+ "protocol": {
179
+ "const": "miao.runtime/v1"
180
+ },
181
+ "subscriptionId": {
182
+ "type": "string",
183
+ "minLength": 1
184
+ },
185
+ "sequence": {
186
+ "type": "integer",
187
+ "minimum": 0
188
+ },
189
+ "event": {
190
+ "type": "object",
191
+ "required": [
192
+ "type",
193
+ "payload"
194
+ ],
195
+ "properties": {
196
+ "type": {
197
+ "type": "string",
198
+ "minLength": 1
199
+ },
200
+ "runId": {
201
+ "type": "string",
202
+ "minLength": 1
203
+ },
204
+ "payload": {}
205
+ },
206
+ "additionalProperties": true
207
+ }
208
+ },
209
+ "additionalProperties": true
210
+ },
211
+ {
212
+ "type": "object",
213
+ "required": [
214
+ "type",
215
+ "protocol",
216
+ "callId",
217
+ "capability",
218
+ "input",
219
+ "deadlineMs",
220
+ "context"
221
+ ],
222
+ "properties": {
223
+ "type": {
224
+ "const": "host_call"
225
+ },
226
+ "protocol": {
227
+ "const": "miao.runtime/v1"
228
+ },
229
+ "callId": {
230
+ "type": "string",
231
+ "minLength": 1
232
+ },
233
+ "capability": {
234
+ "type": "string",
235
+ "minLength": 1
236
+ },
237
+ "input": {},
238
+ "deadlineMs": {
239
+ "type": "integer",
240
+ "minimum": 1
241
+ },
242
+ "context": {
243
+ "type": "object",
244
+ "required": [
245
+ "runId",
246
+ "principal",
247
+ "namespace"
248
+ ],
249
+ "properties": {
250
+ "runId": {
251
+ "type": "string",
252
+ "minLength": 1
253
+ },
254
+ "principal": {
255
+ "type": "string",
256
+ "minLength": 1
257
+ },
258
+ "namespace": {
259
+ "type": "string",
260
+ "minLength": 1
261
+ },
262
+ "traceId": {
263
+ "type": "string",
264
+ "minLength": 1
265
+ }
266
+ },
267
+ "additionalProperties": true
268
+ }
269
+ },
270
+ "additionalProperties": true
271
+ },
272
+ {
273
+ "type": "object",
274
+ "required": [
275
+ "type",
276
+ "protocol",
277
+ "callId",
278
+ "status"
279
+ ],
280
+ "properties": {
281
+ "type": {
282
+ "const": "host_result"
283
+ },
284
+ "protocol": {
285
+ "const": "miao.runtime/v1"
286
+ },
287
+ "callId": {
288
+ "type": "string",
289
+ "minLength": 1
290
+ },
291
+ "status": {
292
+ "enum": [
293
+ "success",
294
+ "error",
295
+ "cancelled"
296
+ ]
297
+ },
298
+ "output": {},
299
+ "error": {
300
+ "type": "object",
301
+ "required": [
302
+ "code",
303
+ "message",
304
+ "retryable"
305
+ ],
306
+ "properties": {
307
+ "code": {
308
+ "type": "string",
309
+ "minLength": 1
310
+ },
311
+ "message": {
312
+ "type": "string"
313
+ },
314
+ "retryable": {
315
+ "type": "boolean"
316
+ },
317
+ "runId": {
318
+ "type": "string",
319
+ "minLength": 1
320
+ },
321
+ "details": {}
322
+ },
323
+ "additionalProperties": true
324
+ },
325
+ "reason": {
326
+ "type": "string"
327
+ }
328
+ },
329
+ "allOf": [
330
+ {
331
+ "if": {
332
+ "properties": {
333
+ "status": {
334
+ "const": "success"
335
+ }
336
+ }
337
+ },
338
+ "then": {
339
+ "required": [
340
+ "output"
341
+ ]
342
+ }
343
+ },
344
+ {
345
+ "if": {
346
+ "properties": {
347
+ "status": {
348
+ "const": "error"
349
+ }
350
+ }
351
+ },
352
+ "then": {
353
+ "required": [
354
+ "error"
355
+ ]
356
+ }
357
+ },
358
+ {
359
+ "if": {
360
+ "properties": {
361
+ "status": {
362
+ "const": "cancelled"
363
+ }
364
+ }
365
+ },
366
+ "then": {
367
+ "required": [
368
+ "reason"
369
+ ]
370
+ }
371
+ }
372
+ ],
373
+ "additionalProperties": true
374
+ },
375
+ {
376
+ "type": "object",
377
+ "required": [
378
+ "type",
379
+ "protocol",
380
+ "target"
381
+ ],
382
+ "properties": {
383
+ "type": {
384
+ "const": "cancel"
385
+ },
386
+ "protocol": {
387
+ "const": "miao.runtime/v1"
388
+ },
389
+ "target": {
390
+ "oneOf": [
391
+ {
392
+ "type": "object",
393
+ "required": [
394
+ "kind",
395
+ "requestId"
396
+ ],
397
+ "properties": {
398
+ "kind": {
399
+ "const": "request"
400
+ },
401
+ "requestId": {
402
+ "type": "string",
403
+ "minLength": 1
404
+ }
405
+ },
406
+ "additionalProperties": true
407
+ },
408
+ {
409
+ "type": "object",
410
+ "required": [
411
+ "kind",
412
+ "runId"
413
+ ],
414
+ "properties": {
415
+ "kind": {
416
+ "const": "run"
417
+ },
418
+ "runId": {
419
+ "type": "string",
420
+ "minLength": 1
421
+ }
422
+ },
423
+ "additionalProperties": true
424
+ },
425
+ {
426
+ "type": "object",
427
+ "required": [
428
+ "kind",
429
+ "callId"
430
+ ],
431
+ "properties": {
432
+ "kind": {
433
+ "const": "host_call"
434
+ },
435
+ "callId": {
436
+ "type": "string",
437
+ "minLength": 1
438
+ }
439
+ },
440
+ "additionalProperties": true
441
+ },
442
+ {
443
+ "type": "object",
444
+ "required": [
445
+ "kind",
446
+ "subscriptionId"
447
+ ],
448
+ "properties": {
449
+ "kind": {
450
+ "const": "subscription"
451
+ },
452
+ "subscriptionId": {
453
+ "type": "string",
454
+ "minLength": 1
455
+ }
456
+ },
457
+ "additionalProperties": true
458
+ }
459
+ ]
460
+ },
461
+ "reason": {
462
+ "type": "string"
463
+ }
464
+ },
465
+ "additionalProperties": true
466
+ },
467
+ {
468
+ "type": "object",
469
+ "required": [
470
+ "type",
471
+ "protocol",
472
+ "nonce"
473
+ ],
474
+ "properties": {
475
+ "type": {
476
+ "const": "ping"
477
+ },
478
+ "protocol": {
479
+ "const": "miao.runtime/v1"
480
+ },
481
+ "nonce": {
482
+ "type": "string",
483
+ "minLength": 1
484
+ }
485
+ },
486
+ "additionalProperties": true
487
+ },
488
+ {
489
+ "type": "object",
490
+ "required": [
491
+ "type",
492
+ "protocol",
493
+ "nonce"
494
+ ],
495
+ "properties": {
496
+ "type": {
497
+ "const": "pong"
498
+ },
499
+ "protocol": {
500
+ "const": "miao.runtime/v1"
501
+ },
502
+ "nonce": {
503
+ "type": "string",
504
+ "minLength": 1
505
+ }
506
+ },
507
+ "additionalProperties": true
508
+ }
509
+ ]
510
+ };
511
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/generated/schema.ts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;oBAChB,WAAW,EAAE,CAAC;iBACf;aACF;YACD,sBAAsB,EAAE,IAAI;SAC7B;QACD;YACE,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE;gBACV,MAAM;gBACN,UAAU;gBACV,OAAO;aACR;YACD,YAAY,EAAE;gBACZ,MAAM,EAAE;oBACN,OAAO,EAAE,MAAM;iBAChB;gBACD,UAAU,EAAE;oBACV,OAAO,EAAE,iBAAiB;iBAC3B;gBACD,OAAO,EAAE;oBACP,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,CAAC;iBACf;aACF;YACD,sBAAsB,EAAE,IAAI;SAC7B;KACF;CACO,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from "./codec.js";
2
+ export * from "./generated/fixture.js";
3
+ export * from "./generated/protocol.js";
4
+ export * from "./generated/schema.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ export * from "./codec.js";
2
+ export * from "./generated/fixture.js";
3
+ export * from "./generated/protocol.js";
4
+ export * from "./generated/schema.js";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC"}