@mininglamp-oss/octo-runtime-client 0.0.0-stage → 1.1.11

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.
Files changed (87) hide show
  1. package/LICENSE +190 -0
  2. package/README.md +38 -2
  3. package/build-info.json +5 -0
  4. package/dist/async-question-reply.d.ts +30 -0
  5. package/dist/async-question-reply.js +199 -0
  6. package/dist/browser.d.ts +1 -0
  7. package/dist/browser.js +1 -0
  8. package/dist/client.d.ts +10 -0
  9. package/dist/client.js +465 -0
  10. package/dist/index.d.ts +6 -0
  11. package/dist/index.js +6 -0
  12. package/dist/internal.d.ts +4 -0
  13. package/dist/internal.js +5 -0
  14. package/dist/invocation-lifecycle.d.ts +59 -0
  15. package/dist/invocation-lifecycle.js +287 -0
  16. package/dist/notification.d.ts +1 -0
  17. package/dist/notification.js +1 -0
  18. package/dist/protocol.d.ts +1 -0
  19. package/dist/protocol.js +1 -0
  20. package/dist/runtime-path.d.ts +21 -0
  21. package/dist/runtime-path.js +138 -0
  22. package/dist/startup-catalog.d.ts +8 -0
  23. package/dist/startup-catalog.js +65 -0
  24. package/dist/startup-diagnostics.d.ts +82 -0
  25. package/dist/startup-diagnostics.js +371 -0
  26. package/dist/submission-error.d.ts +10 -0
  27. package/dist/submission-error.js +23 -0
  28. package/dist/types.d.ts +72 -0
  29. package/dist/types.js +10 -0
  30. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.d.ts +4 -0
  31. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.js +36 -0
  32. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/adapter-metadata.d.ts +7 -0
  33. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/adapter-metadata.js +1 -0
  34. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +7 -0
  35. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +6 -0
  36. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.d.ts +11 -0
  37. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.js +33 -0
  38. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-configuration.d.ts +5 -0
  39. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-configuration.js +58 -0
  40. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-hash.d.ts +2 -0
  41. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-hash.js +5 -0
  42. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.d.ts +29 -0
  43. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +566 -0
  44. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.d.ts +3 -0
  45. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.js +80 -0
  46. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/experience.d.ts +4 -0
  47. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/experience.js +166 -0
  48. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +82 -0
  49. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +562 -0
  50. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +3022 -0
  51. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.js +6 -0
  52. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +124 -0
  53. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +709 -0
  54. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +129 -0
  55. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +177 -0
  56. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-size.d.ts +3 -0
  57. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-size.js +11 -0
  58. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/json-size.d.ts +2 -0
  59. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/json-size.js +91 -0
  60. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.d.ts +3 -0
  61. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.js +9 -0
  62. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.d.ts +15 -0
  63. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +166 -0
  64. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/notification.d.ts +2 -0
  65. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/notification.js +137 -0
  66. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/questions.d.ts +9 -0
  67. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/questions.js +84 -0
  68. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.d.ts +20 -0
  69. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +294 -0
  70. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.d.ts +3 -0
  71. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.js +68 -0
  72. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.d.ts +5 -0
  73. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +65 -0
  74. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/stream-limits.d.ts +27 -0
  75. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/stream-limits.js +56 -0
  76. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +15 -0
  77. package/package.json +55 -4
  78. package/schema/context-configuration-fixtures.json +1219 -0
  79. package/schema/context-fixtures.json +5988 -0
  80. package/schema/kernel-client.behavior.json +56 -0
  81. package/schema/kernel-ipc-fixtures.json +53 -0
  82. package/schema/kernel-ipc.schema.json +538 -0
  83. package/schema/native-invoke-fixtures.json +116 -0
  84. package/schema/protocol.schema.json +4525 -0
  85. package/schema/run-protocol-fixtures.json +761 -0
  86. package/schema/runtime-selection-fixtures.json +663 -0
  87. package/schema/session-name-fixtures.json +191 -0
@@ -0,0 +1,56 @@
1
+ {
2
+ "revision": 1,
3
+ "ipcVersion": 1,
4
+ "limits": {
5
+ "connections": 32,
6
+ "invocations": 128,
7
+ "controlConcurrency": 4,
8
+ "lookupConcurrency": 4,
9
+ "requestBytes": 33554432,
10
+ "lineBytes": 42008576,
11
+ "readChunkBytes": 65536
12
+ },
13
+ "timeoutsMs": {
14
+ "connect": 5000,
15
+ "unary": 5000,
16
+ "invokeAck": 30000,
17
+ "recovery": 10000
18
+ },
19
+ "repairDelaysMs": [100, 250, 500],
20
+ "terminalStates": ["completed", "failed", "cancelled", "lost"],
21
+ "retryableErrors": ["CONNECTION_CLOSED", "KERNEL_UNAVAILABLE", "KERNEL_TIMEOUT"],
22
+ "lookupFields": [
23
+ "run_id",
24
+ "invocation_id",
25
+ "agent_session_id",
26
+ "session_generation",
27
+ "protocol_mode"
28
+ ],
29
+ "receiptFields": [
30
+ "run_id",
31
+ "invocation_id",
32
+ "stream_id",
33
+ "agent_session_id",
34
+ "session_generation",
35
+ "protocol_mode",
36
+ "protocol"
37
+ ],
38
+ "identityInputFields": {
39
+ "run_id": "runId",
40
+ "invocation_id": "invocationId",
41
+ "agent_session_id": "sessionId",
42
+ "session_generation": "sessionGeneration",
43
+ "protocol_mode": "protocol_mode"
44
+ },
45
+ "defaults": {
46
+ "session_generation": 0,
47
+ "protocol_mode": "native"
48
+ },
49
+ "lifecycle": {
50
+ "admission": ["admitting", "accepted", "acceptance_unknown", "unobserved"],
51
+ "cancellation": ["none", "requested", "acknowledged", "unknown"]
52
+ },
53
+ "ownership": "attached",
54
+ "closeCancelsRun": false,
55
+ "replayInvoke": false
56
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "ipc_version": 1,
3
+ "cases": [
4
+ {
5
+ "name": "status",
6
+ "request": { "jsonrpc": "2.0", "id": "status-1", "method": "status", "params": {} },
7
+ "valid": true,
8
+ "result_definition": "KernelStatus"
9
+ },
10
+ {
11
+ "name": "list",
12
+ "request": { "jsonrpc": "2.0", "id": "list-1", "method": "adapter.list", "params": {} },
13
+ "valid": true
14
+ },
15
+ {
16
+ "name": "missing-run",
17
+ "request": {
18
+ "jsonrpc": "2.0",
19
+ "id": "get-1",
20
+ "method": "agent_run.get",
21
+ "params": {
22
+ "key": {
23
+ "run_id": "r1",
24
+ "invocation_id": "i1",
25
+ "agent_session_id": "s1",
26
+ "session_generation": 0,
27
+ "protocol_mode": "native"
28
+ }
29
+ }
30
+ },
31
+ "valid": true,
32
+ "error_code": "RUN_NOT_AVAILABLE"
33
+ },
34
+ {
35
+ "name": "numeric-id",
36
+ "request": { "jsonrpc": "2.0", "id": 1, "method": "status", "params": {} },
37
+ "valid": false,
38
+ "error_code": "INVALID_REQUEST"
39
+ },
40
+ {
41
+ "name": "unknown-params",
42
+ "request": {
43
+ "jsonrpc": "2.0",
44
+ "id": "bad-1",
45
+ "method": "status",
46
+ "params": { "extra": true }
47
+ },
48
+ "valid": false,
49
+ "error_code": "INVALID_PARAMS"
50
+ },
51
+ { "name": "batch", "request": [], "valid": false, "error_code": "INVALID_REQUEST" }
52
+ ]
53
+ }
@@ -0,0 +1,538 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "urn:mininglamp-oss:octo-runtime:kernel-ipc:v1",
4
+ "title": "Kernel IPC v1",
5
+ "description": "One UTF-8 LF-terminated JSON-RPC request per local connection. No batches. Closing a connection never cancels execution. Source sequence numbers belong to the Kernel instance. Receipts and events retain the original Run protocol identities.",
6
+ "definitions": {
7
+ "Request": {
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "required": ["jsonrpc", "id", "method", "params"],
11
+ "properties": {
12
+ "jsonrpc": {
13
+ "const": "2.0"
14
+ },
15
+ "id": {
16
+ "type": "string",
17
+ "minLength": 1,
18
+ "maxLength": 128,
19
+ "x-octo-max-utf8-bytes": 128
20
+ },
21
+ "method": {
22
+ "enum": [
23
+ "status",
24
+ "adapter.list",
25
+ "agent_run.invoke",
26
+ "agent_run.get",
27
+ "agent_run.subscribe",
28
+ "agent_run.cancel",
29
+ "agent_run.respond",
30
+ "agent_run.native.respond"
31
+ ]
32
+ },
33
+ "params": {
34
+ "type": "object"
35
+ }
36
+ },
37
+ "allOf": [
38
+ {
39
+ "if": {
40
+ "properties": {
41
+ "method": {
42
+ "const": "status"
43
+ }
44
+ }
45
+ },
46
+ "then": {
47
+ "properties": {
48
+ "params": {
49
+ "$ref": "#/definitions/EmptyParams"
50
+ }
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "if": {
56
+ "properties": {
57
+ "method": {
58
+ "const": "adapter.list"
59
+ }
60
+ }
61
+ },
62
+ "then": {
63
+ "properties": {
64
+ "params": {
65
+ "$ref": "#/definitions/EmptyParams"
66
+ }
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "if": {
72
+ "properties": {
73
+ "method": {
74
+ "const": "agent_run.invoke"
75
+ }
76
+ }
77
+ },
78
+ "then": {
79
+ "properties": {
80
+ "params": {
81
+ "$ref": "#/definitions/InvokeParams"
82
+ }
83
+ }
84
+ }
85
+ },
86
+ {
87
+ "if": {
88
+ "properties": {
89
+ "method": {
90
+ "const": "agent_run.get"
91
+ }
92
+ }
93
+ },
94
+ "then": {
95
+ "properties": {
96
+ "params": {
97
+ "$ref": "#/definitions/GetParams"
98
+ }
99
+ }
100
+ }
101
+ },
102
+ {
103
+ "if": {
104
+ "properties": {
105
+ "method": {
106
+ "const": "agent_run.subscribe"
107
+ }
108
+ }
109
+ },
110
+ "then": {
111
+ "properties": {
112
+ "params": {
113
+ "$ref": "#/definitions/SubscribeParams"
114
+ }
115
+ }
116
+ }
117
+ },
118
+ {
119
+ "if": {
120
+ "properties": {
121
+ "method": {
122
+ "const": "agent_run.cancel"
123
+ }
124
+ }
125
+ },
126
+ "then": {
127
+ "properties": {
128
+ "params": {
129
+ "$ref": "#/definitions/CancelParams"
130
+ }
131
+ }
132
+ }
133
+ },
134
+ {
135
+ "if": {
136
+ "properties": {
137
+ "method": {
138
+ "const": "agent_run.respond"
139
+ }
140
+ }
141
+ },
142
+ "then": {
143
+ "properties": {
144
+ "params": {
145
+ "$ref": "#/definitions/RespondParams"
146
+ }
147
+ }
148
+ }
149
+ },
150
+ {
151
+ "if": {
152
+ "properties": {
153
+ "method": {
154
+ "const": "agent_run.native.respond"
155
+ }
156
+ }
157
+ },
158
+ "then": {
159
+ "properties": {
160
+ "params": {
161
+ "$ref": "#/definitions/RespondNativeParams"
162
+ }
163
+ }
164
+ }
165
+ }
166
+ ]
167
+ },
168
+ "EmptyParams": {
169
+ "type": "object",
170
+ "additionalProperties": false,
171
+ "required": [],
172
+ "properties": {}
173
+ },
174
+ "EmptyResult": {
175
+ "type": "object",
176
+ "additionalProperties": false,
177
+ "required": [],
178
+ "properties": {}
179
+ },
180
+ "InvokeParams": {
181
+ "type": "object",
182
+ "additionalProperties": false,
183
+ "required": ["input"],
184
+ "properties": {
185
+ "input": {
186
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/InvokeInputWire"
187
+ },
188
+ "executionEnvOverrides": {
189
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/ContextEnvsPayload"
190
+ },
191
+ "kernel_instance_id": {
192
+ "type": "string",
193
+ "minLength": 1
194
+ }
195
+ }
196
+ },
197
+ "GetParams": {
198
+ "type": "object",
199
+ "additionalProperties": false,
200
+ "required": ["key"],
201
+ "properties": {
202
+ "key": {
203
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/KernelLookupKey"
204
+ },
205
+ "kernel_instance_id": {
206
+ "type": "string",
207
+ "minLength": 1
208
+ }
209
+ }
210
+ },
211
+ "SubscribeParams": {
212
+ "type": "object",
213
+ "additionalProperties": false,
214
+ "required": ["ref", "after_seq"],
215
+ "properties": {
216
+ "ref": {
217
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/KernelRunRef"
218
+ },
219
+ "after_seq": {
220
+ "type": "integer",
221
+ "minimum": 0,
222
+ "maximum": 9007199254740991
223
+ }
224
+ }
225
+ },
226
+ "CancelParams": {
227
+ "type": "object",
228
+ "additionalProperties": false,
229
+ "required": ["ref"],
230
+ "properties": {
231
+ "ref": {
232
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/KernelRunRef"
233
+ },
234
+ "reason": {
235
+ "type": "string"
236
+ }
237
+ }
238
+ },
239
+ "RespondParams": {
240
+ "type": "object",
241
+ "additionalProperties": false,
242
+ "required": ["ref", "response"],
243
+ "properties": {
244
+ "ref": {
245
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/KernelRunRef"
246
+ },
247
+ "response": {
248
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/InteractionResponseWire"
249
+ }
250
+ }
251
+ },
252
+ "RespondNativeParams": {
253
+ "type": "object",
254
+ "additionalProperties": false,
255
+ "required": ["ref", "response"],
256
+ "properties": {
257
+ "ref": {
258
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/KernelRunRef"
259
+ },
260
+ "response": {
261
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/NativeInteractionResponse"
262
+ }
263
+ }
264
+ },
265
+ "InvokeResult": {
266
+ "type": "object",
267
+ "additionalProperties": false,
268
+ "required": ["kernel_instance_id", "receipt"],
269
+ "properties": {
270
+ "kernel_instance_id": {
271
+ "type": "string",
272
+ "minLength": 1
273
+ },
274
+ "receipt": {
275
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/HostRunReceipt"
276
+ }
277
+ }
278
+ },
279
+ "CancelResult": {
280
+ "type": "object",
281
+ "additionalProperties": false,
282
+ "required": ["accepted"],
283
+ "properties": {
284
+ "accepted": {
285
+ "type": "boolean"
286
+ }
287
+ }
288
+ },
289
+ "SuccessResponse": {
290
+ "type": "object",
291
+ "additionalProperties": false,
292
+ "required": ["jsonrpc", "id", "result"],
293
+ "properties": {
294
+ "jsonrpc": {
295
+ "const": "2.0"
296
+ },
297
+ "id": {
298
+ "type": "string",
299
+ "minLength": 1
300
+ },
301
+ "result": {}
302
+ }
303
+ },
304
+ "ErrorResponse": {
305
+ "type": "object",
306
+ "additionalProperties": false,
307
+ "required": ["jsonrpc", "id", "error"],
308
+ "properties": {
309
+ "jsonrpc": {
310
+ "const": "2.0"
311
+ },
312
+ "id": {
313
+ "type": ["string", "null"]
314
+ },
315
+ "error": {
316
+ "type": "object",
317
+ "additionalProperties": true,
318
+ "required": ["code", "message", "data"],
319
+ "properties": {
320
+ "code": {
321
+ "type": "integer"
322
+ },
323
+ "message": {
324
+ "type": "string"
325
+ },
326
+ "data": {
327
+ "type": "object",
328
+ "additionalProperties": true,
329
+ "required": ["code"],
330
+ "properties": {
331
+ "code": {
332
+ "type": "string",
333
+ "minLength": 1
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "EventNotification": {
342
+ "type": "object",
343
+ "additionalProperties": false,
344
+ "required": ["jsonrpc", "method", "params"],
345
+ "properties": {
346
+ "jsonrpc": {
347
+ "const": "2.0"
348
+ },
349
+ "method": {
350
+ "const": "agent_run.event"
351
+ },
352
+ "params": {
353
+ "type": "object",
354
+ "additionalProperties": false,
355
+ "required": ["kernel_instance_id", "run_id", "stream_id", "seq", "event"],
356
+ "properties": {
357
+ "kernel_instance_id": {
358
+ "type": "string",
359
+ "minLength": 1
360
+ },
361
+ "run_id": {
362
+ "type": "string",
363
+ "minLength": 1
364
+ },
365
+ "stream_id": {
366
+ "type": "string",
367
+ "minLength": 1
368
+ },
369
+ "seq": {
370
+ "type": "integer",
371
+ "minimum": 1,
372
+ "maximum": 9007199254740991
373
+ },
374
+ "event": {
375
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/HostFrame"
376
+ }
377
+ }
378
+ }
379
+ }
380
+ },
381
+ "StreamErrorNotification": {
382
+ "type": "object",
383
+ "additionalProperties": false,
384
+ "required": ["jsonrpc", "method", "params"],
385
+ "properties": {
386
+ "jsonrpc": {
387
+ "const": "2.0"
388
+ },
389
+ "method": {
390
+ "const": "agent_run.stream_error"
391
+ },
392
+ "params": {
393
+ "type": "object",
394
+ "additionalProperties": false,
395
+ "required": ["code", "kernel_instance_id"],
396
+ "properties": {
397
+ "code": {
398
+ "type": "string",
399
+ "minLength": 1
400
+ },
401
+ "kernel_instance_id": {
402
+ "type": "string",
403
+ "minLength": 1
404
+ }
405
+ }
406
+ }
407
+ }
408
+ },
409
+ "KnownBusinessErrorCode": {
410
+ "enum": [
411
+ "KERNEL_UNAVAILABLE",
412
+ "KERNEL_INSTANCE_CHANGED",
413
+ "RUN_IDENTITY_MISMATCH",
414
+ "RUN_NOT_AVAILABLE",
415
+ "RUN_ALREADY_ACCEPTED",
416
+ "RUN_CAPACITY_EXHAUSTED",
417
+ "STREAM_GAP",
418
+ "STREAM_EXPIRED",
419
+ "STREAM_CURSOR_INVALID",
420
+ "STREAM_SUBSCRIBER_LIMIT",
421
+ "ACCEPTANCE_UNKNOWN",
422
+ "OPERATION_OUTCOME_UNKNOWN",
423
+ "CLIENT_CLOSED",
424
+ "WORKER_LOST",
425
+ "WORKER_RESTART_EXHAUSTED",
426
+ "INVOKE_REQUEST_TOO_LARGE",
427
+ "HOST_FRAME_TOO_LARGE"
428
+ ]
429
+ },
430
+ "BusinessErrorCode": {
431
+ "type": "string",
432
+ "minLength": 1,
433
+ "description": "Open error namespace; preserve unknown codes and data."
434
+ }
435
+ },
436
+ "$ref": "#/definitions/Request",
437
+ "x-octo-methods": [
438
+ {
439
+ "method": "status",
440
+ "name": "Status",
441
+ "params": {
442
+ "$ref": "#/definitions/EmptyParams"
443
+ },
444
+ "result": {
445
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/KernelStatus"
446
+ },
447
+ "stream": false,
448
+ "sideEffect": false
449
+ },
450
+ {
451
+ "method": "adapter.list",
452
+ "name": "List",
453
+ "params": {
454
+ "$ref": "#/definitions/EmptyParams"
455
+ },
456
+ "result": {
457
+ "type": "array",
458
+ "items": {
459
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/HostedAdapterMetadataWire"
460
+ }
461
+ },
462
+ "stream": false,
463
+ "sideEffect": false
464
+ },
465
+ {
466
+ "method": "agent_run.invoke",
467
+ "name": "Submit",
468
+ "params": {
469
+ "$ref": "#/definitions/InvokeParams"
470
+ },
471
+ "result": {
472
+ "$ref": "#/definitions/InvokeResult"
473
+ },
474
+ "stream": false,
475
+ "sideEffect": true
476
+ },
477
+ {
478
+ "method": "agent_run.get",
479
+ "name": "Get",
480
+ "params": {
481
+ "$ref": "#/definitions/GetParams"
482
+ },
483
+ "result": {
484
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/KernelRunSnapshot"
485
+ },
486
+ "stream": false,
487
+ "sideEffect": false
488
+ },
489
+ {
490
+ "method": "agent_run.subscribe",
491
+ "name": "Subscribe",
492
+ "params": {
493
+ "$ref": "#/definitions/SubscribeParams"
494
+ },
495
+ "result": {
496
+ "$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/KernelRunSnapshot"
497
+ },
498
+ "stream": true,
499
+ "sideEffect": false
500
+ },
501
+ {
502
+ "method": "agent_run.cancel",
503
+ "name": "Cancel",
504
+ "params": {
505
+ "$ref": "#/definitions/CancelParams"
506
+ },
507
+ "result": {
508
+ "$ref": "#/definitions/CancelResult"
509
+ },
510
+ "stream": false,
511
+ "sideEffect": true
512
+ },
513
+ {
514
+ "method": "agent_run.respond",
515
+ "name": "Respond",
516
+ "params": {
517
+ "$ref": "#/definitions/RespondParams"
518
+ },
519
+ "result": {
520
+ "$ref": "#/definitions/EmptyResult"
521
+ },
522
+ "stream": false,
523
+ "sideEffect": true
524
+ },
525
+ {
526
+ "method": "agent_run.native.respond",
527
+ "name": "RespondNative",
528
+ "params": {
529
+ "$ref": "#/definitions/RespondNativeParams"
530
+ },
531
+ "result": {
532
+ "$ref": "#/definitions/EmptyResult"
533
+ },
534
+ "stream": false,
535
+ "sideEffect": true
536
+ }
537
+ ]
538
+ }