@nexum-hub/agent 0.0.0-stage → 0.0.2

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 (343) hide show
  1. package/README.md +133 -2
  2. package/contracts/v2/common.schema.json +262 -0
  3. package/contracts/v2/fixtures/inputs.json +244 -0
  4. package/contracts/v2/fixtures/wire.json +6493 -0
  5. package/contracts/v2/model/agent.close.input.schema.json +14 -0
  6. package/contracts/v2/model/agent.close.output.schema.json +101 -0
  7. package/contracts/v2/model/agent.list.input.schema.json +57 -0
  8. package/contracts/v2/model/agent.list.output.schema.json +220 -0
  9. package/contracts/v2/model/agent.open.input.schema.json +35 -0
  10. package/contracts/v2/model/agent.open.output.schema.json +41 -0
  11. package/contracts/v2/model/agent.run.cancel.input.schema.json +18 -0
  12. package/contracts/v2/model/agent.run.cancel.output.schema.json +100 -0
  13. package/contracts/v2/model/agent.run.get.input.schema.json +41 -0
  14. package/contracts/v2/model/agent.run.get.output.schema.json +100 -0
  15. package/contracts/v2/model/agent.run.input.input.schema.json +30 -0
  16. package/contracts/v2/model/agent.run.input.output.schema.json +100 -0
  17. package/contracts/v2/model/agent.run.list.input.schema.json +47 -0
  18. package/contracts/v2/model/agent.run.list.output.schema.json +41 -0
  19. package/contracts/v2/model/agent.run.start.input.schema.json +73 -0
  20. package/contracts/v2/model/agent.run.start.output.schema.json +100 -0
  21. package/contracts/v2/wire/bodies.schema.json +383 -0
  22. package/contracts/v2/wire/envelope.schema.json +2280 -0
  23. package/contracts/v2/wire/events.schema.json +242 -0
  24. package/contracts/v2/wire/maintenance.schema.json +308 -0
  25. package/contracts/v2/wire/operations.schema.json +1791 -0
  26. package/contracts/v2/wire/stream.schema.json +74 -0
  27. package/contracts/v2/wire/types.schema.json +2616 -0
  28. package/dist/adapters/mcp-http.d.ts +22 -0
  29. package/dist/adapters/mcp-http.js +472 -0
  30. package/dist/adapters/mcp-http.js.map +1 -0
  31. package/dist/adapters/mcp-oauth.d.ts +29 -0
  32. package/dist/adapters/mcp-oauth.js +653 -0
  33. package/dist/adapters/mcp-oauth.js.map +1 -0
  34. package/dist/adapters/mcp-wire.d.ts +21 -0
  35. package/dist/adapters/mcp-wire.js +307 -0
  36. package/dist/adapters/mcp-wire.js.map +1 -0
  37. package/dist/adapters/mcp.d.ts +56 -0
  38. package/dist/adapters/mcp.js +1989 -0
  39. package/dist/adapters/mcp.js.map +1 -0
  40. package/dist/adapters/openapi-http.d.ts +29 -0
  41. package/dist/adapters/openapi-http.js +504 -0
  42. package/dist/adapters/openapi-http.js.map +1 -0
  43. package/dist/adapters/openapi-request.d.ts +26 -0
  44. package/dist/adapters/openapi-request.js +597 -0
  45. package/dist/adapters/openapi-request.js.map +1 -0
  46. package/dist/adapters/openapi-schema.d.ts +22 -0
  47. package/dist/adapters/openapi-schema.js +471 -0
  48. package/dist/adapters/openapi-schema.js.map +1 -0
  49. package/dist/adapters/openapi-typegen.d.ts +11 -0
  50. package/dist/adapters/openapi-typegen.js +185 -0
  51. package/dist/adapters/openapi-typegen.js.map +1 -0
  52. package/dist/adapters/openapi-types.d.ts +99 -0
  53. package/dist/adapters/openapi-types.js +2 -0
  54. package/dist/adapters/openapi-types.js.map +1 -0
  55. package/dist/adapters/openapi.d.ts +7 -0
  56. package/dist/adapters/openapi.js +768 -0
  57. package/dist/adapters/openapi.js.map +1 -0
  58. package/dist/application/activation.d.ts +28 -0
  59. package/dist/application/activation.js +289 -0
  60. package/dist/application/activation.js.map +1 -0
  61. package/dist/application/attachments.d.ts +24 -0
  62. package/dist/application/attachments.js +87 -0
  63. package/dist/application/attachments.js.map +1 -0
  64. package/dist/application/authority.d.ts +32 -0
  65. package/dist/application/authority.js +213 -0
  66. package/dist/application/authority.js.map +1 -0
  67. package/dist/application/catalog.d.ts +11 -0
  68. package/dist/application/catalog.js +177 -0
  69. package/dist/application/catalog.js.map +1 -0
  70. package/dist/application/config.d.ts +24 -0
  71. package/dist/application/config.js +140 -0
  72. package/dist/application/config.js.map +1 -0
  73. package/dist/application/connection.d.ts +35 -0
  74. package/dist/application/connection.js +465 -0
  75. package/dist/application/connection.js.map +1 -0
  76. package/dist/application/data-plane.d.ts +35 -0
  77. package/dist/application/data-plane.js +437 -0
  78. package/dist/application/data-plane.js.map +1 -0
  79. package/dist/application/diagnostics.d.ts +4 -0
  80. package/dist/application/diagnostics.js +65 -0
  81. package/dist/application/diagnostics.js.map +1 -0
  82. package/dist/application/dispatcher.d.ts +4 -0
  83. package/dist/application/dispatcher.js +16 -0
  84. package/dist/application/dispatcher.js.map +1 -0
  85. package/dist/application/main.d.ts +12 -0
  86. package/dist/application/main.js +167 -0
  87. package/dist/application/main.js.map +1 -0
  88. package/dist/application/maintenance.d.ts +27 -0
  89. package/dist/application/maintenance.js +244 -0
  90. package/dist/application/maintenance.js.map +1 -0
  91. package/dist/application/packages.d.ts +25 -0
  92. package/dist/application/packages.js +208 -0
  93. package/dist/application/packages.js.map +1 -0
  94. package/dist/application/processes.d.ts +49 -0
  95. package/dist/application/processes.js +180 -0
  96. package/dist/application/processes.js.map +1 -0
  97. package/dist/application/run-view.d.ts +17 -0
  98. package/dist/application/run-view.js +286 -0
  99. package/dist/application/run-view.js.map +1 -0
  100. package/dist/application/runtime.d.ts +78 -0
  101. package/dist/application/runtime.js +1747 -0
  102. package/dist/application/runtime.js.map +1 -0
  103. package/dist/application/tasks.d.ts +38 -0
  104. package/dist/application/tasks.js +23 -0
  105. package/dist/application/tasks.js.map +1 -0
  106. package/dist/application/user-state.d.ts +20 -0
  107. package/dist/application/user-state.js +52 -0
  108. package/dist/application/user-state.js.map +1 -0
  109. package/dist/application/work-git.d.ts +14 -0
  110. package/dist/application/work-git.js +67 -0
  111. package/dist/application/work-git.js.map +1 -0
  112. package/dist/cli.d.ts +2 -0
  113. package/dist/cli.js +40 -0
  114. package/dist/cli.js.map +1 -0
  115. package/dist/contracts/caller.d.ts +51 -0
  116. package/dist/contracts/caller.js +95 -0
  117. package/dist/contracts/caller.js.map +1 -0
  118. package/dist/contracts/error-data.d.ts +6 -0
  119. package/dist/contracts/error-data.js +51 -0
  120. package/dist/contracts/error-data.js.map +1 -0
  121. package/dist/contracts/errors.d.ts +10 -0
  122. package/dist/contracts/errors.js +28 -0
  123. package/dist/contracts/errors.js.map +1 -0
  124. package/dist/contracts/json.d.ts +9 -0
  125. package/dist/contracts/json.js +104 -0
  126. package/dist/contracts/json.js.map +1 -0
  127. package/dist/contracts/types.d.ts +122 -0
  128. package/dist/contracts/types.js +19 -0
  129. package/dist/contracts/types.js.map +1 -0
  130. package/dist/contracts/validation.d.ts +4 -0
  131. package/dist/contracts/validation.js +157 -0
  132. package/dist/contracts/validation.js.map +1 -0
  133. package/dist/contracts/wire-validation.d.ts +9 -0
  134. package/dist/contracts/wire-validation.js +399 -0
  135. package/dist/contracts/wire-validation.js.map +1 -0
  136. package/dist/contracts/wire.d.ts +1083 -0
  137. package/dist/contracts/wire.js +62 -0
  138. package/dist/contracts/wire.js.map +1 -0
  139. package/dist/extension-api.d.ts +12 -0
  140. package/dist/extension-api.js +2 -0
  141. package/dist/extension-api.js.map +1 -0
  142. package/dist/extensions/api.d.ts +72 -0
  143. package/dist/extensions/api.js +2 -0
  144. package/dist/extensions/api.js.map +1 -0
  145. package/dist/extensions/host-requests.d.ts +23 -0
  146. package/dist/extensions/host-requests.js +60 -0
  147. package/dist/extensions/host-requests.js.map +1 -0
  148. package/dist/extensions/materials.d.ts +37 -0
  149. package/dist/extensions/materials.js +691 -0
  150. package/dist/extensions/materials.js.map +1 -0
  151. package/dist/extensions/package-loader.d.ts +28 -0
  152. package/dist/extensions/package-loader.js +177 -0
  153. package/dist/extensions/package-loader.js.map +1 -0
  154. package/dist/extensions/packages.d.ts +73 -0
  155. package/dist/extensions/packages.js +441 -0
  156. package/dist/extensions/packages.js.map +1 -0
  157. package/dist/extensions/registry.d.ts +92 -0
  158. package/dist/extensions/registry.js +1540 -0
  159. package/dist/extensions/registry.js.map +1 -0
  160. package/dist/extensions/resources.d.ts +105 -0
  161. package/dist/extensions/resources.js +595 -0
  162. package/dist/extensions/resources.js.map +1 -0
  163. package/dist/extensions/state.d.ts +25 -0
  164. package/dist/extensions/state.js +10 -0
  165. package/dist/extensions/state.js.map +1 -0
  166. package/dist/extensions/transfer.d.ts +81 -0
  167. package/dist/extensions/transfer.js +16 -0
  168. package/dist/extensions/transfer.js.map +1 -0
  169. package/dist/index.d.ts +7 -0
  170. package/dist/index.js +25 -0
  171. package/dist/index.js.map +1 -0
  172. package/dist/maintenance/configuration.d.ts +79 -0
  173. package/dist/maintenance/configuration.js +1503 -0
  174. package/dist/maintenance/configuration.js.map +1 -0
  175. package/dist/maintenance/credentials.d.ts +23 -0
  176. package/dist/maintenance/credentials.js +177 -0
  177. package/dist/maintenance/credentials.js.map +1 -0
  178. package/dist/maintenance/files.d.ts +2 -0
  179. package/dist/maintenance/files.js +40 -0
  180. package/dist/maintenance/files.js.map +1 -0
  181. package/dist/maintenance/npm.d.ts +71 -0
  182. package/dist/maintenance/npm.js +1013 -0
  183. package/dist/maintenance/npm.js.map +1 -0
  184. package/dist/maintenance/oauth.d.ts +45 -0
  185. package/dist/maintenance/oauth.js +686 -0
  186. package/dist/maintenance/oauth.js.map +1 -0
  187. package/dist/maintenance/requests.d.ts +347 -0
  188. package/dist/maintenance/requests.js +959 -0
  189. package/dist/maintenance/requests.js.map +1 -0
  190. package/dist/maintenance/work-git.d.ts +29 -0
  191. package/dist/maintenance/work-git.js +776 -0
  192. package/dist/maintenance/work-git.js.map +1 -0
  193. package/dist/process/backend.d.ts +54 -0
  194. package/dist/process/backend.js +39 -0
  195. package/dist/process/backend.js.map +1 -0
  196. package/dist/process/environment-windows.d.ts +15 -0
  197. package/dist/process/environment-windows.js +151 -0
  198. package/dist/process/environment-windows.js.map +1 -0
  199. package/dist/process/environment.d.ts +28 -0
  200. package/dist/process/environment.js +410 -0
  201. package/dist/process/environment.js.map +1 -0
  202. package/dist/process/launch.d.ts +31 -0
  203. package/dist/process/launch.js +281 -0
  204. package/dist/process/launch.js.map +1 -0
  205. package/dist/process/managed.d.ts +36 -0
  206. package/dist/process/managed.js +459 -0
  207. package/dist/process/managed.js.map +1 -0
  208. package/dist/process/output-log.d.ts +50 -0
  209. package/dist/process/output-log.js +552 -0
  210. package/dist/process/output-log.js.map +1 -0
  211. package/dist/process/pipes.d.ts +16 -0
  212. package/dist/process/pipes.js +588 -0
  213. package/dist/process/pipes.js.map +1 -0
  214. package/dist/process/pty.d.ts +22 -0
  215. package/dist/process/pty.js +512 -0
  216. package/dist/process/pty.js.map +1 -0
  217. package/dist/process/windows-conout-worker.d.ts +1 -0
  218. package/dist/process/windows-conout-worker.js +90 -0
  219. package/dist/process/windows-conout-worker.js.map +1 -0
  220. package/dist/process/windows-conout.d.ts +46 -0
  221. package/dist/process/windows-conout.js +140 -0
  222. package/dist/process/windows-conout.js.map +1 -0
  223. package/dist/process/windows-helper.d.ts +43 -0
  224. package/dist/process/windows-helper.js +255 -0
  225. package/dist/process/windows-helper.js.map +1 -0
  226. package/dist/process/windows-job.d.ts +39 -0
  227. package/dist/process/windows-job.js +224 -0
  228. package/dist/process/windows-job.js.map +1 -0
  229. package/dist/process/windows-pipes.d.ts +16 -0
  230. package/dist/process/windows-pipes.js +475 -0
  231. package/dist/process/windows-pipes.js.map +1 -0
  232. package/dist/results/artifacts.d.ts +118 -0
  233. package/dist/results/artifacts.js +873 -0
  234. package/dist/results/artifacts.js.map +1 -0
  235. package/dist/results/encoder.d.ts +57 -0
  236. package/dist/results/encoder.js +1179 -0
  237. package/dist/results/encoder.js.map +1 -0
  238. package/dist/results/mcp.d.ts +95 -0
  239. package/dist/results/mcp.js +656 -0
  240. package/dist/results/mcp.js.map +1 -0
  241. package/dist/results/media.d.ts +19 -0
  242. package/dist/results/media.js +301 -0
  243. package/dist/results/media.js.map +1 -0
  244. package/dist/results/normalize.d.ts +29 -0
  245. package/dist/results/normalize.js +464 -0
  246. package/dist/results/normalize.js.map +1 -0
  247. package/dist/runtime/control-scripts.d.ts +23 -0
  248. package/dist/runtime/control-scripts.js +242 -0
  249. package/dist/runtime/control-scripts.js.map +1 -0
  250. package/dist/runtime/engine.d.ts +177 -0
  251. package/dist/runtime/engine.js +1159 -0
  252. package/dist/runtime/engine.js.map +1 -0
  253. package/dist/runtime/globals.d.ts +1 -0
  254. package/dist/runtime/globals.js +31 -0
  255. package/dist/runtime/globals.js.map +1 -0
  256. package/dist/runtime/material-retention.d.ts +34 -0
  257. package/dist/runtime/material-retention.js +671 -0
  258. package/dist/runtime/material-retention.js.map +1 -0
  259. package/dist/runtime/modules.d.ts +50 -0
  260. package/dist/runtime/modules.js +320 -0
  261. package/dist/runtime/modules.js.map +1 -0
  262. package/dist/runtime/names.d.ts +2 -0
  263. package/dist/runtime/names.js +22 -0
  264. package/dist/runtime/names.js.map +1 -0
  265. package/dist/runtime/operations.d.ts +20 -0
  266. package/dist/runtime/operations.js +137 -0
  267. package/dist/runtime/operations.js.map +1 -0
  268. package/dist/runtime/paths.d.ts +3 -0
  269. package/dist/runtime/paths.js +38 -0
  270. package/dist/runtime/paths.js.map +1 -0
  271. package/dist/runtime/promises.d.ts +9 -0
  272. package/dist/runtime/promises.js +78 -0
  273. package/dist/runtime/promises.js.map +1 -0
  274. package/dist/runtime/retention.d.ts +88 -0
  275. package/dist/runtime/retention.js +735 -0
  276. package/dist/runtime/retention.js.map +1 -0
  277. package/dist/runtime/run-log.d.ts +30 -0
  278. package/dist/runtime/run-log.js +207 -0
  279. package/dist/runtime/run-log.js.map +1 -0
  280. package/dist/runtime/scripts.d.ts +84 -0
  281. package/dist/runtime/scripts.js +387 -0
  282. package/dist/runtime/scripts.js.map +1 -0
  283. package/dist/runtime/tasks.d.ts +54 -0
  284. package/dist/runtime/tasks.js +290 -0
  285. package/dist/runtime/tasks.js.map +1 -0
  286. package/dist/sdk/maintenance.d.ts +3 -0
  287. package/dist/sdk/maintenance.js +80 -0
  288. package/dist/sdk/maintenance.js.map +1 -0
  289. package/dist/sdk/output-extension.d.ts +3 -0
  290. package/dist/sdk/output-extension.js +44 -0
  291. package/dist/sdk/output-extension.js.map +1 -0
  292. package/dist/sdk/output.d.ts +52 -0
  293. package/dist/sdk/output.js +350 -0
  294. package/dist/sdk/output.js.map +1 -0
  295. package/dist/sdk/runtime.d.ts +3 -0
  296. package/dist/sdk/runtime.js +26 -0
  297. package/dist/sdk/runtime.js.map +1 -0
  298. package/dist/sdk/sh.d.ts +3 -0
  299. package/dist/sdk/sh.js +384 -0
  300. package/dist/sdk/sh.js.map +1 -0
  301. package/dist/sdk/state.d.ts +2 -0
  302. package/dist/sdk/state.js +69 -0
  303. package/dist/sdk/state.js.map +1 -0
  304. package/dist/sdk/transfer.d.ts +3 -0
  305. package/dist/sdk/transfer.js +141 -0
  306. package/dist/sdk/transfer.js.map +1 -0
  307. package/dist/services/extensions.d.ts +19 -0
  308. package/dist/services/extensions.js +183 -0
  309. package/dist/services/extensions.js.map +1 -0
  310. package/dist/services/state.d.ts +37 -0
  311. package/dist/services/state.js +125 -0
  312. package/dist/services/state.js.map +1 -0
  313. package/dist/services/transfer.d.ts +86 -0
  314. package/dist/services/transfer.js +948 -0
  315. package/dist/services/transfer.js.map +1 -0
  316. package/dist/storage/schema.d.ts +8 -0
  317. package/dist/storage/schema.js +241 -0
  318. package/dist/storage/schema.js.map +1 -0
  319. package/dist/storage/sqlite.d.ts +241 -0
  320. package/dist/storage/sqlite.js +1855 -0
  321. package/dist/storage/sqlite.js.map +1 -0
  322. package/dist/storage/transfers.d.ts +90 -0
  323. package/dist/storage/transfers.js +2 -0
  324. package/dist/storage/transfers.js.map +1 -0
  325. package/dist/transfer/io.d.ts +74 -0
  326. package/dist/transfer/io.js +425 -0
  327. package/dist/transfer/io.js.map +1 -0
  328. package/dist/transfer/offers.d.ts +72 -0
  329. package/dist/transfer/offers.js +380 -0
  330. package/dist/transfer/offers.js.map +1 -0
  331. package/dist/transfer/stream-slots.d.ts +12 -0
  332. package/dist/transfer/stream-slots.js +28 -0
  333. package/dist/transfer/stream-slots.js.map +1 -0
  334. package/dist/work/catalog.d.ts +43 -0
  335. package/dist/work/catalog.js +198 -0
  336. package/dist/work/catalog.js.map +1 -0
  337. package/dist/work/discovery.d.ts +70 -0
  338. package/dist/work/discovery.js +465 -0
  339. package/dist/work/discovery.js.map +1 -0
  340. package/dist/work/service.d.ts +83 -0
  341. package/dist/work/service.js +703 -0
  342. package/dist/work/service.js.map +1 -0
  343. package/package.json +66 -4
@@ -0,0 +1,2280 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.nexum.local/agent/v2/wire/envelope.schema.json",
4
+ "oneOf": [
5
+ {
6
+ "type": "object",
7
+ "properties": {
8
+ "type": {
9
+ "const": "invoke"
10
+ },
11
+ "id": {
12
+ "type": "string",
13
+ "minLength": 1,
14
+ "maxLength": 256
15
+ },
16
+ "operation": {
17
+ "const": "agent.project.resolve"
18
+ },
19
+ "context": {
20
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/InvocationContext"
21
+ },
22
+ "input": {
23
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.project.resolve.input"
24
+ }
25
+ },
26
+ "required": ["type", "id", "operation", "context", "input"],
27
+ "additionalProperties": false
28
+ },
29
+ {
30
+ "type": "object",
31
+ "properties": {
32
+ "type": {
33
+ "const": "result"
34
+ },
35
+ "id": {
36
+ "type": "string",
37
+ "minLength": 1,
38
+ "maxLength": 256
39
+ },
40
+ "operation": {
41
+ "const": "agent.project.resolve"
42
+ },
43
+ "output": {
44
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.project.resolve.output"
45
+ }
46
+ },
47
+ "required": ["type", "id", "operation", "output"],
48
+ "additionalProperties": false
49
+ },
50
+ {
51
+ "type": "object",
52
+ "properties": {
53
+ "type": {
54
+ "const": "invoke"
55
+ },
56
+ "id": {
57
+ "type": "string",
58
+ "minLength": 1,
59
+ "maxLength": 256
60
+ },
61
+ "operation": {
62
+ "const": "agent.open"
63
+ },
64
+ "context": {
65
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
66
+ },
67
+ "input": {
68
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.open.input"
69
+ }
70
+ },
71
+ "required": ["type", "id", "operation", "context", "input"],
72
+ "additionalProperties": false
73
+ },
74
+ {
75
+ "type": "object",
76
+ "properties": {
77
+ "type": {
78
+ "const": "result"
79
+ },
80
+ "id": {
81
+ "type": "string",
82
+ "minLength": 1,
83
+ "maxLength": 256
84
+ },
85
+ "operation": {
86
+ "const": "agent.open"
87
+ },
88
+ "output": {
89
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.open.output"
90
+ }
91
+ },
92
+ "required": ["type", "id", "operation", "output"],
93
+ "additionalProperties": false
94
+ },
95
+ {
96
+ "type": "object",
97
+ "properties": {
98
+ "type": {
99
+ "const": "invoke"
100
+ },
101
+ "id": {
102
+ "type": "string",
103
+ "minLength": 1,
104
+ "maxLength": 256
105
+ },
106
+ "operation": {
107
+ "const": "agent.close"
108
+ },
109
+ "context": {
110
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
111
+ },
112
+ "input": {
113
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.close.input"
114
+ }
115
+ },
116
+ "required": ["type", "id", "operation", "context", "input"],
117
+ "additionalProperties": false
118
+ },
119
+ {
120
+ "type": "object",
121
+ "properties": {
122
+ "type": {
123
+ "const": "result"
124
+ },
125
+ "id": {
126
+ "type": "string",
127
+ "minLength": 1,
128
+ "maxLength": 256
129
+ },
130
+ "operation": {
131
+ "const": "agent.close"
132
+ },
133
+ "output": {
134
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.close.output"
135
+ }
136
+ },
137
+ "required": ["type", "id", "operation", "output"],
138
+ "additionalProperties": false
139
+ },
140
+ {
141
+ "type": "object",
142
+ "properties": {
143
+ "type": {
144
+ "const": "invoke"
145
+ },
146
+ "id": {
147
+ "type": "string",
148
+ "minLength": 1,
149
+ "maxLength": 256
150
+ },
151
+ "operation": {
152
+ "const": "agent.run.start"
153
+ },
154
+ "context": {
155
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
156
+ },
157
+ "input": {
158
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.start.input"
159
+ }
160
+ },
161
+ "required": ["type", "id", "operation", "context", "input"],
162
+ "additionalProperties": false
163
+ },
164
+ {
165
+ "type": "object",
166
+ "properties": {
167
+ "type": {
168
+ "const": "result"
169
+ },
170
+ "id": {
171
+ "type": "string",
172
+ "minLength": 1,
173
+ "maxLength": 256
174
+ },
175
+ "operation": {
176
+ "const": "agent.run.start"
177
+ },
178
+ "output": {
179
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.start.output"
180
+ }
181
+ },
182
+ "required": ["type", "id", "operation", "output"],
183
+ "additionalProperties": false
184
+ },
185
+ {
186
+ "type": "object",
187
+ "properties": {
188
+ "type": {
189
+ "const": "invoke"
190
+ },
191
+ "id": {
192
+ "type": "string",
193
+ "minLength": 1,
194
+ "maxLength": 256
195
+ },
196
+ "operation": {
197
+ "const": "agent.run.get"
198
+ },
199
+ "context": {
200
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
201
+ },
202
+ "input": {
203
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.get.input"
204
+ }
205
+ },
206
+ "required": ["type", "id", "operation", "context", "input"],
207
+ "additionalProperties": false
208
+ },
209
+ {
210
+ "type": "object",
211
+ "properties": {
212
+ "type": {
213
+ "const": "result"
214
+ },
215
+ "id": {
216
+ "type": "string",
217
+ "minLength": 1,
218
+ "maxLength": 256
219
+ },
220
+ "operation": {
221
+ "const": "agent.run.get"
222
+ },
223
+ "output": {
224
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.get.output"
225
+ }
226
+ },
227
+ "required": ["type", "id", "operation", "output"],
228
+ "additionalProperties": false
229
+ },
230
+ {
231
+ "type": "object",
232
+ "properties": {
233
+ "type": {
234
+ "const": "invoke"
235
+ },
236
+ "id": {
237
+ "type": "string",
238
+ "minLength": 1,
239
+ "maxLength": 256
240
+ },
241
+ "operation": {
242
+ "const": "agent.run.input"
243
+ },
244
+ "context": {
245
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
246
+ },
247
+ "input": {
248
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.input.input"
249
+ }
250
+ },
251
+ "required": ["type", "id", "operation", "context", "input"],
252
+ "additionalProperties": false
253
+ },
254
+ {
255
+ "type": "object",
256
+ "properties": {
257
+ "type": {
258
+ "const": "result"
259
+ },
260
+ "id": {
261
+ "type": "string",
262
+ "minLength": 1,
263
+ "maxLength": 256
264
+ },
265
+ "operation": {
266
+ "const": "agent.run.input"
267
+ },
268
+ "output": {
269
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.input.output"
270
+ }
271
+ },
272
+ "required": ["type", "id", "operation", "output"],
273
+ "additionalProperties": false
274
+ },
275
+ {
276
+ "type": "object",
277
+ "properties": {
278
+ "type": {
279
+ "const": "invoke"
280
+ },
281
+ "id": {
282
+ "type": "string",
283
+ "minLength": 1,
284
+ "maxLength": 256
285
+ },
286
+ "operation": {
287
+ "const": "agent.run.cancel"
288
+ },
289
+ "context": {
290
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
291
+ },
292
+ "input": {
293
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.cancel.input"
294
+ }
295
+ },
296
+ "required": ["type", "id", "operation", "context", "input"],
297
+ "additionalProperties": false
298
+ },
299
+ {
300
+ "type": "object",
301
+ "properties": {
302
+ "type": {
303
+ "const": "result"
304
+ },
305
+ "id": {
306
+ "type": "string",
307
+ "minLength": 1,
308
+ "maxLength": 256
309
+ },
310
+ "operation": {
311
+ "const": "agent.run.cancel"
312
+ },
313
+ "output": {
314
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.cancel.output"
315
+ }
316
+ },
317
+ "required": ["type", "id", "operation", "output"],
318
+ "additionalProperties": false
319
+ },
320
+ {
321
+ "type": "object",
322
+ "properties": {
323
+ "type": {
324
+ "const": "invoke"
325
+ },
326
+ "id": {
327
+ "type": "string",
328
+ "minLength": 1,
329
+ "maxLength": 256
330
+ },
331
+ "operation": {
332
+ "const": "agent.run.list"
333
+ },
334
+ "context": {
335
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
336
+ },
337
+ "input": {
338
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.list.input"
339
+ }
340
+ },
341
+ "required": ["type", "id", "operation", "context", "input"],
342
+ "additionalProperties": false
343
+ },
344
+ {
345
+ "type": "object",
346
+ "properties": {
347
+ "type": {
348
+ "const": "result"
349
+ },
350
+ "id": {
351
+ "type": "string",
352
+ "minLength": 1,
353
+ "maxLength": 256
354
+ },
355
+ "operation": {
356
+ "const": "agent.run.list"
357
+ },
358
+ "output": {
359
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.list.output"
360
+ }
361
+ },
362
+ "required": ["type", "id", "operation", "output"],
363
+ "additionalProperties": false
364
+ },
365
+ {
366
+ "type": "object",
367
+ "properties": {
368
+ "type": {
369
+ "const": "invoke"
370
+ },
371
+ "id": {
372
+ "type": "string",
373
+ "minLength": 1,
374
+ "maxLength": 256
375
+ },
376
+ "operation": {
377
+ "const": "agent.resources.list"
378
+ },
379
+ "context": {
380
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
381
+ },
382
+ "input": {
383
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.resources.list.input"
384
+ }
385
+ },
386
+ "required": ["type", "id", "operation", "context", "input"],
387
+ "additionalProperties": false
388
+ },
389
+ {
390
+ "type": "object",
391
+ "properties": {
392
+ "type": {
393
+ "const": "result"
394
+ },
395
+ "id": {
396
+ "type": "string",
397
+ "minLength": 1,
398
+ "maxLength": 256
399
+ },
400
+ "operation": {
401
+ "const": "agent.resources.list"
402
+ },
403
+ "output": {
404
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.resources.list.output"
405
+ }
406
+ },
407
+ "required": ["type", "id", "operation", "output"],
408
+ "additionalProperties": false
409
+ },
410
+ {
411
+ "type": "object",
412
+ "properties": {
413
+ "type": {
414
+ "const": "invoke"
415
+ },
416
+ "id": {
417
+ "type": "string",
418
+ "minLength": 1,
419
+ "maxLength": 256
420
+ },
421
+ "operation": {
422
+ "const": "agent.resources.read"
423
+ },
424
+ "context": {
425
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
426
+ },
427
+ "input": {
428
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.resources.read.input"
429
+ }
430
+ },
431
+ "required": ["type", "id", "operation", "context", "input"],
432
+ "additionalProperties": false
433
+ },
434
+ {
435
+ "type": "object",
436
+ "properties": {
437
+ "type": {
438
+ "const": "result"
439
+ },
440
+ "id": {
441
+ "type": "string",
442
+ "minLength": 1,
443
+ "maxLength": 256
444
+ },
445
+ "operation": {
446
+ "const": "agent.resources.read"
447
+ },
448
+ "output": {
449
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.resources.read.output"
450
+ }
451
+ },
452
+ "required": ["type", "id", "operation", "output"],
453
+ "additionalProperties": false
454
+ },
455
+ {
456
+ "type": "object",
457
+ "properties": {
458
+ "type": {
459
+ "const": "invoke"
460
+ },
461
+ "id": {
462
+ "type": "string",
463
+ "minLength": 1,
464
+ "maxLength": 256
465
+ },
466
+ "operation": {
467
+ "const": "agent.context.read"
468
+ },
469
+ "context": {
470
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/InvocationContext"
471
+ },
472
+ "input": {
473
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.context.read.input"
474
+ }
475
+ },
476
+ "required": ["type", "id", "operation", "context", "input"],
477
+ "additionalProperties": false
478
+ },
479
+ {
480
+ "type": "object",
481
+ "properties": {
482
+ "type": {
483
+ "const": "result"
484
+ },
485
+ "id": {
486
+ "type": "string",
487
+ "minLength": 1,
488
+ "maxLength": 256
489
+ },
490
+ "operation": {
491
+ "const": "agent.context.read"
492
+ },
493
+ "output": {
494
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.context.read.output"
495
+ }
496
+ },
497
+ "required": ["type", "id", "operation", "output"],
498
+ "additionalProperties": false
499
+ },
500
+ {
501
+ "type": "object",
502
+ "properties": {
503
+ "type": {
504
+ "const": "invoke"
505
+ },
506
+ "id": {
507
+ "type": "string",
508
+ "minLength": 1,
509
+ "maxLength": 256
510
+ },
511
+ "operation": {
512
+ "const": "transfer.prepare"
513
+ },
514
+ "context": {
515
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
516
+ },
517
+ "input": {
518
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/transfer.prepare.input"
519
+ }
520
+ },
521
+ "required": ["type", "id", "operation", "context", "input"],
522
+ "additionalProperties": false
523
+ },
524
+ {
525
+ "type": "object",
526
+ "properties": {
527
+ "type": {
528
+ "const": "result"
529
+ },
530
+ "id": {
531
+ "type": "string",
532
+ "minLength": 1,
533
+ "maxLength": 256
534
+ },
535
+ "operation": {
536
+ "const": "transfer.prepare"
537
+ },
538
+ "output": {
539
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/transfer.prepare.output"
540
+ }
541
+ },
542
+ "required": ["type", "id", "operation", "output"],
543
+ "additionalProperties": false
544
+ },
545
+ {
546
+ "type": "object",
547
+ "properties": {
548
+ "type": {
549
+ "const": "invoke"
550
+ },
551
+ "id": {
552
+ "type": "string",
553
+ "minLength": 1,
554
+ "maxLength": 256
555
+ },
556
+ "operation": {
557
+ "const": "transfer.revoke"
558
+ },
559
+ "context": {
560
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
561
+ },
562
+ "input": {
563
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/transfer.revoke.input"
564
+ }
565
+ },
566
+ "required": ["type", "id", "operation", "context", "input"],
567
+ "additionalProperties": false
568
+ },
569
+ {
570
+ "type": "object",
571
+ "properties": {
572
+ "type": {
573
+ "const": "result"
574
+ },
575
+ "id": {
576
+ "type": "string",
577
+ "minLength": 1,
578
+ "maxLength": 256
579
+ },
580
+ "operation": {
581
+ "const": "transfer.revoke"
582
+ },
583
+ "output": {
584
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/transfer.revoke.output"
585
+ }
586
+ },
587
+ "required": ["type", "id", "operation", "output"],
588
+ "additionalProperties": false
589
+ },
590
+ {
591
+ "type": "object",
592
+ "properties": {
593
+ "type": {
594
+ "const": "invoke"
595
+ },
596
+ "id": {
597
+ "type": "string",
598
+ "minLength": 1,
599
+ "maxLength": 256
600
+ },
601
+ "operation": {
602
+ "const": "agent.transfer.reserveClaim"
603
+ },
604
+ "context": {
605
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
606
+ },
607
+ "input": {
608
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.transfer.reserveClaim.input"
609
+ }
610
+ },
611
+ "required": ["type", "id", "operation", "context", "input"],
612
+ "additionalProperties": false
613
+ },
614
+ {
615
+ "type": "object",
616
+ "properties": {
617
+ "type": {
618
+ "const": "result"
619
+ },
620
+ "id": {
621
+ "type": "string",
622
+ "minLength": 1,
623
+ "maxLength": 256
624
+ },
625
+ "operation": {
626
+ "const": "agent.transfer.reserveClaim"
627
+ },
628
+ "output": {
629
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.transfer.reserveClaim.output"
630
+ }
631
+ },
632
+ "required": ["type", "id", "operation", "output"],
633
+ "additionalProperties": false
634
+ },
635
+ {
636
+ "type": "object",
637
+ "properties": {
638
+ "type": {
639
+ "const": "invoke"
640
+ },
641
+ "id": {
642
+ "type": "string",
643
+ "minLength": 1,
644
+ "maxLength": 256
645
+ },
646
+ "operation": {
647
+ "const": "agent.transfer.commitClaim"
648
+ },
649
+ "context": {
650
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
651
+ },
652
+ "input": {
653
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.transfer.commitClaim.input"
654
+ }
655
+ },
656
+ "required": ["type", "id", "operation", "context", "input"],
657
+ "additionalProperties": false
658
+ },
659
+ {
660
+ "type": "object",
661
+ "properties": {
662
+ "type": {
663
+ "const": "result"
664
+ },
665
+ "id": {
666
+ "type": "string",
667
+ "minLength": 1,
668
+ "maxLength": 256
669
+ },
670
+ "operation": {
671
+ "const": "agent.transfer.commitClaim"
672
+ },
673
+ "output": {
674
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.transfer.commitClaim.output"
675
+ }
676
+ },
677
+ "required": ["type", "id", "operation", "output"],
678
+ "additionalProperties": false
679
+ },
680
+ {
681
+ "type": "object",
682
+ "properties": {
683
+ "type": {
684
+ "const": "invoke"
685
+ },
686
+ "id": {
687
+ "type": "string",
688
+ "minLength": 1,
689
+ "maxLength": 256
690
+ },
691
+ "operation": {
692
+ "const": "agent.transfer.releaseReservation"
693
+ },
694
+ "context": {
695
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
696
+ },
697
+ "input": {
698
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.transfer.releaseReservation.input"
699
+ }
700
+ },
701
+ "required": ["type", "id", "operation", "context", "input"],
702
+ "additionalProperties": false
703
+ },
704
+ {
705
+ "type": "object",
706
+ "properties": {
707
+ "type": {
708
+ "const": "result"
709
+ },
710
+ "id": {
711
+ "type": "string",
712
+ "minLength": 1,
713
+ "maxLength": 256
714
+ },
715
+ "operation": {
716
+ "const": "agent.transfer.releaseReservation"
717
+ },
718
+ "output": {
719
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.transfer.releaseReservation.output"
720
+ }
721
+ },
722
+ "required": ["type", "id", "operation", "output"],
723
+ "additionalProperties": false
724
+ },
725
+ {
726
+ "type": "object",
727
+ "properties": {
728
+ "type": {
729
+ "const": "invoke"
730
+ },
731
+ "id": {
732
+ "type": "string",
733
+ "minLength": 1,
734
+ "maxLength": 256
735
+ },
736
+ "operation": {
737
+ "const": "authorization.refresh"
738
+ },
739
+ "context": {
740
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
741
+ },
742
+ "input": {
743
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/authorization.refresh.input"
744
+ }
745
+ },
746
+ "required": ["type", "id", "operation", "context", "input"],
747
+ "additionalProperties": false
748
+ },
749
+ {
750
+ "type": "object",
751
+ "properties": {
752
+ "type": {
753
+ "const": "result"
754
+ },
755
+ "id": {
756
+ "type": "string",
757
+ "minLength": 1,
758
+ "maxLength": 256
759
+ },
760
+ "operation": {
761
+ "const": "authorization.refresh"
762
+ },
763
+ "output": {
764
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/authorization.refresh.output"
765
+ }
766
+ },
767
+ "required": ["type", "id", "operation", "output"],
768
+ "additionalProperties": false
769
+ },
770
+ {
771
+ "type": "object",
772
+ "properties": {
773
+ "type": {
774
+ "const": "invoke"
775
+ },
776
+ "id": {
777
+ "type": "string",
778
+ "minLength": 1,
779
+ "maxLength": 256
780
+ },
781
+ "operation": {
782
+ "const": "host.request"
783
+ },
784
+ "context": {
785
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
786
+ },
787
+ "input": {
788
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/host.request.input"
789
+ }
790
+ },
791
+ "required": ["type", "id", "operation", "context", "input"],
792
+ "additionalProperties": false
793
+ },
794
+ {
795
+ "type": "object",
796
+ "properties": {
797
+ "type": {
798
+ "const": "result"
799
+ },
800
+ "id": {
801
+ "type": "string",
802
+ "minLength": 1,
803
+ "maxLength": 256
804
+ },
805
+ "operation": {
806
+ "const": "host.request"
807
+ },
808
+ "output": {
809
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/host.request.output"
810
+ }
811
+ },
812
+ "required": ["type", "id", "operation", "output"],
813
+ "additionalProperties": false
814
+ },
815
+ {
816
+ "type": "object",
817
+ "properties": {
818
+ "type": {
819
+ "const": "invoke"
820
+ },
821
+ "id": {
822
+ "type": "string",
823
+ "minLength": 1,
824
+ "maxLength": 256
825
+ },
826
+ "operation": {
827
+ "const": "stream.prepare"
828
+ },
829
+ "context": {
830
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
831
+ },
832
+ "input": {
833
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/stream.prepare.input"
834
+ }
835
+ },
836
+ "required": ["type", "id", "operation", "context", "input"],
837
+ "additionalProperties": false
838
+ },
839
+ {
840
+ "type": "object",
841
+ "properties": {
842
+ "type": {
843
+ "const": "result"
844
+ },
845
+ "id": {
846
+ "type": "string",
847
+ "minLength": 1,
848
+ "maxLength": 256
849
+ },
850
+ "operation": {
851
+ "const": "stream.prepare"
852
+ },
853
+ "output": {
854
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/stream.prepare.output"
855
+ }
856
+ },
857
+ "required": ["type", "id", "operation", "output"],
858
+ "additionalProperties": false
859
+ },
860
+ {
861
+ "type": "object",
862
+ "properties": {
863
+ "type": {
864
+ "const": "invoke"
865
+ },
866
+ "id": {
867
+ "type": "string",
868
+ "minLength": 1,
869
+ "maxLength": 256
870
+ },
871
+ "operation": {
872
+ "const": "stream.revoke"
873
+ },
874
+ "context": {
875
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
876
+ },
877
+ "input": {
878
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/stream.revoke.input"
879
+ }
880
+ },
881
+ "required": ["type", "id", "operation", "context", "input"],
882
+ "additionalProperties": false
883
+ },
884
+ {
885
+ "type": "object",
886
+ "properties": {
887
+ "type": {
888
+ "const": "result"
889
+ },
890
+ "id": {
891
+ "type": "string",
892
+ "minLength": 1,
893
+ "maxLength": 256
894
+ },
895
+ "operation": {
896
+ "const": "stream.revoke"
897
+ },
898
+ "output": {
899
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/stream.revoke.output"
900
+ }
901
+ },
902
+ "required": ["type", "id", "operation", "output"],
903
+ "additionalProperties": false
904
+ },
905
+ {
906
+ "type": "object",
907
+ "properties": {
908
+ "type": {
909
+ "const": "invoke"
910
+ },
911
+ "id": {
912
+ "type": "string",
913
+ "minLength": 1,
914
+ "maxLength": 256
915
+ },
916
+ "operation": {
917
+ "const": "agent.maintenance.execute"
918
+ },
919
+ "context": {
920
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
921
+ },
922
+ "input": {
923
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.execute.input"
924
+ }
925
+ },
926
+ "required": ["type", "id", "operation", "context", "input"],
927
+ "additionalProperties": false
928
+ },
929
+ {
930
+ "type": "object",
931
+ "properties": {
932
+ "type": {
933
+ "const": "result"
934
+ },
935
+ "id": {
936
+ "type": "string",
937
+ "minLength": 1,
938
+ "maxLength": 256
939
+ },
940
+ "operation": {
941
+ "const": "agent.maintenance.execute"
942
+ },
943
+ "output": {
944
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.execute.output"
945
+ }
946
+ },
947
+ "required": ["type", "id", "operation", "output"],
948
+ "additionalProperties": false
949
+ },
950
+ {
951
+ "type": "object",
952
+ "properties": {
953
+ "type": {
954
+ "const": "invoke"
955
+ },
956
+ "id": {
957
+ "type": "string",
958
+ "minLength": 1,
959
+ "maxLength": 256
960
+ },
961
+ "operation": {
962
+ "const": "agent.maintenance.get"
963
+ },
964
+ "context": {
965
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
966
+ },
967
+ "input": {
968
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.get.input"
969
+ }
970
+ },
971
+ "required": ["type", "id", "operation", "context", "input"],
972
+ "additionalProperties": false
973
+ },
974
+ {
975
+ "type": "object",
976
+ "properties": {
977
+ "type": {
978
+ "const": "result"
979
+ },
980
+ "id": {
981
+ "type": "string",
982
+ "minLength": 1,
983
+ "maxLength": 256
984
+ },
985
+ "operation": {
986
+ "const": "agent.maintenance.get"
987
+ },
988
+ "output": {
989
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.get.output"
990
+ }
991
+ },
992
+ "required": ["type", "id", "operation", "output"],
993
+ "additionalProperties": false
994
+ },
995
+ {
996
+ "type": "object",
997
+ "properties": {
998
+ "type": {
999
+ "const": "invoke"
1000
+ },
1001
+ "id": {
1002
+ "type": "string",
1003
+ "minLength": 1,
1004
+ "maxLength": 256
1005
+ },
1006
+ "operation": {
1007
+ "const": "agent.maintenance.cancel"
1008
+ },
1009
+ "context": {
1010
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1011
+ },
1012
+ "input": {
1013
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.cancel.input"
1014
+ }
1015
+ },
1016
+ "required": ["type", "id", "operation", "context", "input"],
1017
+ "additionalProperties": false
1018
+ },
1019
+ {
1020
+ "type": "object",
1021
+ "properties": {
1022
+ "type": {
1023
+ "const": "result"
1024
+ },
1025
+ "id": {
1026
+ "type": "string",
1027
+ "minLength": 1,
1028
+ "maxLength": 256
1029
+ },
1030
+ "operation": {
1031
+ "const": "agent.maintenance.cancel"
1032
+ },
1033
+ "output": {
1034
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.cancel.output"
1035
+ }
1036
+ },
1037
+ "required": ["type", "id", "operation", "output"],
1038
+ "additionalProperties": false
1039
+ },
1040
+ {
1041
+ "type": "object",
1042
+ "properties": {
1043
+ "type": {
1044
+ "const": "error"
1045
+ },
1046
+ "id": {
1047
+ "type": "string",
1048
+ "minLength": 1,
1049
+ "maxLength": 256
1050
+ },
1051
+ "error": {
1052
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/Error"
1053
+ }
1054
+ },
1055
+ "required": ["type", "id", "error"],
1056
+ "additionalProperties": false
1057
+ },
1058
+ {
1059
+ "type": "object",
1060
+ "properties": {
1061
+ "type": {
1062
+ "const": "cancel"
1063
+ },
1064
+ "id": {
1065
+ "type": "string",
1066
+ "minLength": 1,
1067
+ "maxLength": 256
1068
+ }
1069
+ },
1070
+ "required": ["type", "id"],
1071
+ "additionalProperties": false
1072
+ },
1073
+ {
1074
+ "type": "object",
1075
+ "properties": {
1076
+ "type": {
1077
+ "const": "event"
1078
+ },
1079
+ "name": {
1080
+ "const": "agent.run.changed"
1081
+ },
1082
+ "connection": {
1083
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/Connection"
1084
+ },
1085
+ "data": {
1086
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/events.schema.json#/$defs/agent.run.changed"
1087
+ }
1088
+ },
1089
+ "required": ["type", "name", "connection", "data"],
1090
+ "additionalProperties": false
1091
+ },
1092
+ {
1093
+ "type": "object",
1094
+ "properties": {
1095
+ "type": {
1096
+ "const": "event"
1097
+ },
1098
+ "name": {
1099
+ "const": "agent.catalog.sync"
1100
+ },
1101
+ "connection": {
1102
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/Connection"
1103
+ },
1104
+ "data": {
1105
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/events.schema.json#/$defs/agent.catalog.sync"
1106
+ }
1107
+ },
1108
+ "required": ["type", "name", "connection", "data"],
1109
+ "additionalProperties": false
1110
+ },
1111
+ {
1112
+ "type": "object",
1113
+ "properties": {
1114
+ "type": {
1115
+ "const": "event"
1116
+ },
1117
+ "name": {
1118
+ "const": "agent.catalog.changed"
1119
+ },
1120
+ "connection": {
1121
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/Connection"
1122
+ },
1123
+ "data": {
1124
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/events.schema.json#/$defs/agent.catalog.changed"
1125
+ }
1126
+ },
1127
+ "required": ["type", "name", "connection", "data"],
1128
+ "additionalProperties": false
1129
+ },
1130
+ {
1131
+ "type": "object",
1132
+ "properties": {
1133
+ "type": {
1134
+ "const": "event"
1135
+ },
1136
+ "name": {
1137
+ "const": "agent.authorization.changed"
1138
+ },
1139
+ "connection": {
1140
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/Connection"
1141
+ },
1142
+ "data": {
1143
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/events.schema.json#/$defs/agent.authorization.changed"
1144
+ }
1145
+ },
1146
+ "required": ["type", "name", "connection", "data"],
1147
+ "additionalProperties": false
1148
+ },
1149
+ {
1150
+ "type": "object",
1151
+ "properties": {
1152
+ "type": {
1153
+ "const": "invoke"
1154
+ },
1155
+ "id": {
1156
+ "type": "string",
1157
+ "minLength": 1,
1158
+ "maxLength": 256
1159
+ },
1160
+ "operation": {
1161
+ "const": "maintenance.request.create"
1162
+ },
1163
+ "context": {
1164
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1165
+ },
1166
+ "input": {
1167
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.create.input"
1168
+ }
1169
+ },
1170
+ "required": ["type", "id", "operation", "context", "input"],
1171
+ "additionalProperties": false
1172
+ },
1173
+ {
1174
+ "type": "object",
1175
+ "properties": {
1176
+ "type": {
1177
+ "const": "result"
1178
+ },
1179
+ "id": {
1180
+ "type": "string",
1181
+ "minLength": 1,
1182
+ "maxLength": 256
1183
+ },
1184
+ "operation": {
1185
+ "const": "maintenance.request.create"
1186
+ },
1187
+ "output": {
1188
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.create.output"
1189
+ }
1190
+ },
1191
+ "required": ["type", "id", "operation", "output"],
1192
+ "additionalProperties": false
1193
+ },
1194
+ {
1195
+ "type": "object",
1196
+ "properties": {
1197
+ "type": {
1198
+ "const": "invoke"
1199
+ },
1200
+ "id": {
1201
+ "type": "string",
1202
+ "minLength": 1,
1203
+ "maxLength": 256
1204
+ },
1205
+ "operation": {
1206
+ "const": "maintenance.request.get"
1207
+ },
1208
+ "context": {
1209
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1210
+ },
1211
+ "input": {
1212
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.get.input"
1213
+ }
1214
+ },
1215
+ "required": ["type", "id", "operation", "context", "input"],
1216
+ "additionalProperties": false
1217
+ },
1218
+ {
1219
+ "type": "object",
1220
+ "properties": {
1221
+ "type": {
1222
+ "const": "result"
1223
+ },
1224
+ "id": {
1225
+ "type": "string",
1226
+ "minLength": 1,
1227
+ "maxLength": 256
1228
+ },
1229
+ "operation": {
1230
+ "const": "maintenance.request.get"
1231
+ },
1232
+ "output": {
1233
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.get.output"
1234
+ }
1235
+ },
1236
+ "required": ["type", "id", "operation", "output"],
1237
+ "additionalProperties": false
1238
+ },
1239
+ {
1240
+ "type": "object",
1241
+ "properties": {
1242
+ "type": {
1243
+ "const": "invoke"
1244
+ },
1245
+ "id": {
1246
+ "type": "string",
1247
+ "minLength": 1,
1248
+ "maxLength": 256
1249
+ },
1250
+ "operation": {
1251
+ "const": "maintenance.request.list"
1252
+ },
1253
+ "context": {
1254
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1255
+ },
1256
+ "input": {
1257
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.list.input"
1258
+ }
1259
+ },
1260
+ "required": ["type", "id", "operation", "context", "input"],
1261
+ "additionalProperties": false
1262
+ },
1263
+ {
1264
+ "type": "object",
1265
+ "properties": {
1266
+ "type": {
1267
+ "const": "result"
1268
+ },
1269
+ "id": {
1270
+ "type": "string",
1271
+ "minLength": 1,
1272
+ "maxLength": 256
1273
+ },
1274
+ "operation": {
1275
+ "const": "maintenance.request.list"
1276
+ },
1277
+ "output": {
1278
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.list.output"
1279
+ }
1280
+ },
1281
+ "required": ["type", "id", "operation", "output"],
1282
+ "additionalProperties": false
1283
+ },
1284
+ {
1285
+ "type": "object",
1286
+ "properties": {
1287
+ "type": {
1288
+ "const": "invoke"
1289
+ },
1290
+ "id": {
1291
+ "type": "string",
1292
+ "minLength": 1,
1293
+ "maxLength": 256
1294
+ },
1295
+ "operation": {
1296
+ "const": "maintenance.request.cancel"
1297
+ },
1298
+ "context": {
1299
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1300
+ },
1301
+ "input": {
1302
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.cancel.input"
1303
+ }
1304
+ },
1305
+ "required": ["type", "id", "operation", "context", "input"],
1306
+ "additionalProperties": false
1307
+ },
1308
+ {
1309
+ "type": "object",
1310
+ "properties": {
1311
+ "type": {
1312
+ "const": "result"
1313
+ },
1314
+ "id": {
1315
+ "type": "string",
1316
+ "minLength": 1,
1317
+ "maxLength": 256
1318
+ },
1319
+ "operation": {
1320
+ "const": "maintenance.request.cancel"
1321
+ },
1322
+ "output": {
1323
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.cancel.output"
1324
+ }
1325
+ },
1326
+ "required": ["type", "id", "operation", "output"],
1327
+ "additionalProperties": false
1328
+ },
1329
+ {
1330
+ "type": "object",
1331
+ "properties": {
1332
+ "type": {
1333
+ "const": "invoke"
1334
+ },
1335
+ "id": {
1336
+ "type": "string",
1337
+ "minLength": 1,
1338
+ "maxLength": 256
1339
+ },
1340
+ "operation": {
1341
+ "const": "maintenance.request.decision"
1342
+ },
1343
+ "context": {
1344
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1345
+ },
1346
+ "input": {
1347
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.decision.input"
1348
+ }
1349
+ },
1350
+ "required": ["type", "id", "operation", "context", "input"],
1351
+ "additionalProperties": false
1352
+ },
1353
+ {
1354
+ "type": "object",
1355
+ "properties": {
1356
+ "type": {
1357
+ "const": "result"
1358
+ },
1359
+ "id": {
1360
+ "type": "string",
1361
+ "minLength": 1,
1362
+ "maxLength": 256
1363
+ },
1364
+ "operation": {
1365
+ "const": "maintenance.request.decision"
1366
+ },
1367
+ "output": {
1368
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.decision.output"
1369
+ }
1370
+ },
1371
+ "required": ["type", "id", "operation", "output"],
1372
+ "additionalProperties": false
1373
+ },
1374
+ {
1375
+ "type": "object",
1376
+ "properties": {
1377
+ "type": {
1378
+ "const": "invoke"
1379
+ },
1380
+ "id": {
1381
+ "type": "string",
1382
+ "minLength": 1,
1383
+ "maxLength": 256
1384
+ },
1385
+ "operation": {
1386
+ "const": "maintenance.request.beginExecution"
1387
+ },
1388
+ "context": {
1389
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1390
+ },
1391
+ "input": {
1392
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.beginExecution.input"
1393
+ }
1394
+ },
1395
+ "required": ["type", "id", "operation", "context", "input"],
1396
+ "additionalProperties": false
1397
+ },
1398
+ {
1399
+ "type": "object",
1400
+ "properties": {
1401
+ "type": {
1402
+ "const": "result"
1403
+ },
1404
+ "id": {
1405
+ "type": "string",
1406
+ "minLength": 1,
1407
+ "maxLength": 256
1408
+ },
1409
+ "operation": {
1410
+ "const": "maintenance.request.beginExecution"
1411
+ },
1412
+ "output": {
1413
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/maintenance.request.beginExecution.output"
1414
+ }
1415
+ },
1416
+ "required": ["type", "id", "operation", "output"],
1417
+ "additionalProperties": false
1418
+ },
1419
+ {
1420
+ "type": "object",
1421
+ "properties": {
1422
+ "type": {
1423
+ "const": "invoke"
1424
+ },
1425
+ "id": {
1426
+ "type": "string",
1427
+ "minLength": 1,
1428
+ "maxLength": 256
1429
+ },
1430
+ "operation": {
1431
+ "const": "agent.maintenance.draft.read"
1432
+ },
1433
+ "context": {
1434
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1435
+ },
1436
+ "input": {
1437
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.draft.read.input"
1438
+ }
1439
+ },
1440
+ "required": ["type", "id", "operation", "context", "input"],
1441
+ "additionalProperties": false
1442
+ },
1443
+ {
1444
+ "type": "object",
1445
+ "properties": {
1446
+ "type": {
1447
+ "const": "result"
1448
+ },
1449
+ "id": {
1450
+ "type": "string",
1451
+ "minLength": 1,
1452
+ "maxLength": 256
1453
+ },
1454
+ "operation": {
1455
+ "const": "agent.maintenance.draft.read"
1456
+ },
1457
+ "output": {
1458
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.draft.read.output"
1459
+ }
1460
+ },
1461
+ "required": ["type", "id", "operation", "output"],
1462
+ "additionalProperties": false
1463
+ },
1464
+ {
1465
+ "type": "object",
1466
+ "properties": {
1467
+ "type": {
1468
+ "const": "invoke"
1469
+ },
1470
+ "id": {
1471
+ "type": "string",
1472
+ "minLength": 1,
1473
+ "maxLength": 256
1474
+ },
1475
+ "operation": {
1476
+ "const": "agent.maintenance.draft.prepare"
1477
+ },
1478
+ "context": {
1479
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1480
+ },
1481
+ "input": {
1482
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.draft.prepare.input"
1483
+ }
1484
+ },
1485
+ "required": ["type", "id", "operation", "context", "input"],
1486
+ "additionalProperties": false
1487
+ },
1488
+ {
1489
+ "type": "object",
1490
+ "properties": {
1491
+ "type": {
1492
+ "const": "result"
1493
+ },
1494
+ "id": {
1495
+ "type": "string",
1496
+ "minLength": 1,
1497
+ "maxLength": 256
1498
+ },
1499
+ "operation": {
1500
+ "const": "agent.maintenance.draft.prepare"
1501
+ },
1502
+ "output": {
1503
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.draft.prepare.output"
1504
+ }
1505
+ },
1506
+ "required": ["type", "id", "operation", "output"],
1507
+ "additionalProperties": false
1508
+ },
1509
+ {
1510
+ "type": "object",
1511
+ "properties": {
1512
+ "type": {
1513
+ "const": "invoke"
1514
+ },
1515
+ "id": {
1516
+ "type": "string",
1517
+ "minLength": 1,
1518
+ "maxLength": 256
1519
+ },
1520
+ "operation": {
1521
+ "const": "agent.maintenance.draft.verify"
1522
+ },
1523
+ "context": {
1524
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1525
+ },
1526
+ "input": {
1527
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.draft.verify.input"
1528
+ }
1529
+ },
1530
+ "required": ["type", "id", "operation", "context", "input"],
1531
+ "additionalProperties": false
1532
+ },
1533
+ {
1534
+ "type": "object",
1535
+ "properties": {
1536
+ "type": {
1537
+ "const": "result"
1538
+ },
1539
+ "id": {
1540
+ "type": "string",
1541
+ "minLength": 1,
1542
+ "maxLength": 256
1543
+ },
1544
+ "operation": {
1545
+ "const": "agent.maintenance.draft.verify"
1546
+ },
1547
+ "output": {
1548
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.draft.verify.output"
1549
+ }
1550
+ },
1551
+ "required": ["type", "id", "operation", "output"],
1552
+ "additionalProperties": false
1553
+ },
1554
+ {
1555
+ "type": "object",
1556
+ "properties": {
1557
+ "type": {
1558
+ "const": "invoke"
1559
+ },
1560
+ "id": {
1561
+ "type": "string",
1562
+ "minLength": 1,
1563
+ "maxLength": 256
1564
+ },
1565
+ "operation": {
1566
+ "const": "agent.maintenance.draft.notify"
1567
+ },
1568
+ "context": {
1569
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1570
+ },
1571
+ "input": {
1572
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.draft.notify.input"
1573
+ }
1574
+ },
1575
+ "required": ["type", "id", "operation", "context", "input"],
1576
+ "additionalProperties": false
1577
+ },
1578
+ {
1579
+ "type": "object",
1580
+ "properties": {
1581
+ "type": {
1582
+ "const": "result"
1583
+ },
1584
+ "id": {
1585
+ "type": "string",
1586
+ "minLength": 1,
1587
+ "maxLength": 256
1588
+ },
1589
+ "operation": {
1590
+ "const": "agent.maintenance.draft.notify"
1591
+ },
1592
+ "output": {
1593
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.draft.notify.output"
1594
+ }
1595
+ },
1596
+ "required": ["type", "id", "operation", "output"],
1597
+ "additionalProperties": false
1598
+ },
1599
+ {
1600
+ "type": "object",
1601
+ "properties": {
1602
+ "type": {
1603
+ "const": "invoke"
1604
+ },
1605
+ "id": {
1606
+ "type": "string",
1607
+ "minLength": 1,
1608
+ "maxLength": 256
1609
+ },
1610
+ "operation": {
1611
+ "const": "agent.maintenance.oauth.start"
1612
+ },
1613
+ "context": {
1614
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1615
+ },
1616
+ "input": {
1617
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.oauth.start.input"
1618
+ }
1619
+ },
1620
+ "required": ["type", "id", "operation", "context", "input"],
1621
+ "additionalProperties": false
1622
+ },
1623
+ {
1624
+ "type": "object",
1625
+ "properties": {
1626
+ "type": {
1627
+ "const": "result"
1628
+ },
1629
+ "id": {
1630
+ "type": "string",
1631
+ "minLength": 1,
1632
+ "maxLength": 256
1633
+ },
1634
+ "operation": {
1635
+ "const": "agent.maintenance.oauth.start"
1636
+ },
1637
+ "output": {
1638
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.oauth.start.output"
1639
+ }
1640
+ },
1641
+ "required": ["type", "id", "operation", "output"],
1642
+ "additionalProperties": false
1643
+ },
1644
+ {
1645
+ "type": "object",
1646
+ "properties": {
1647
+ "type": {
1648
+ "const": "invoke"
1649
+ },
1650
+ "id": {
1651
+ "type": "string",
1652
+ "minLength": 1,
1653
+ "maxLength": 256
1654
+ },
1655
+ "operation": {
1656
+ "const": "agent.maintenance.oauth.complete"
1657
+ },
1658
+ "context": {
1659
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1660
+ },
1661
+ "input": {
1662
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.oauth.complete.input"
1663
+ }
1664
+ },
1665
+ "required": ["type", "id", "operation", "context", "input"],
1666
+ "additionalProperties": false
1667
+ },
1668
+ {
1669
+ "type": "object",
1670
+ "properties": {
1671
+ "type": {
1672
+ "const": "result"
1673
+ },
1674
+ "id": {
1675
+ "type": "string",
1676
+ "minLength": 1,
1677
+ "maxLength": 256
1678
+ },
1679
+ "operation": {
1680
+ "const": "agent.maintenance.oauth.complete"
1681
+ },
1682
+ "output": {
1683
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.maintenance.oauth.complete.output"
1684
+ }
1685
+ },
1686
+ "required": ["type", "id", "operation", "output"],
1687
+ "additionalProperties": false
1688
+ },
1689
+ {
1690
+ "type": "object",
1691
+ "properties": {
1692
+ "type": {
1693
+ "const": "invoke"
1694
+ },
1695
+ "id": {
1696
+ "type": "string",
1697
+ "minLength": 1,
1698
+ "maxLength": 256
1699
+ },
1700
+ "operation": {
1701
+ "const": "attachment.open"
1702
+ },
1703
+ "context": {
1704
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1705
+ },
1706
+ "input": {
1707
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/attachment.open.input"
1708
+ }
1709
+ },
1710
+ "required": ["type", "id", "operation", "context", "input"],
1711
+ "additionalProperties": false
1712
+ },
1713
+ {
1714
+ "type": "object",
1715
+ "properties": {
1716
+ "type": {
1717
+ "const": "result"
1718
+ },
1719
+ "id": {
1720
+ "type": "string",
1721
+ "minLength": 1,
1722
+ "maxLength": 256
1723
+ },
1724
+ "operation": {
1725
+ "const": "attachment.open"
1726
+ },
1727
+ "output": {
1728
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/attachment.open.output"
1729
+ }
1730
+ },
1731
+ "required": ["type", "id", "operation", "output"],
1732
+ "additionalProperties": false
1733
+ },
1734
+ {
1735
+ "type": "object",
1736
+ "properties": {
1737
+ "type": {
1738
+ "const": "invoke"
1739
+ },
1740
+ "id": {
1741
+ "type": "string",
1742
+ "minLength": 1,
1743
+ "maxLength": 256
1744
+ },
1745
+ "operation": {
1746
+ "const": "state.user.get"
1747
+ },
1748
+ "context": {
1749
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1750
+ },
1751
+ "input": {
1752
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/state.user.get.input"
1753
+ }
1754
+ },
1755
+ "required": ["type", "id", "operation", "context", "input"],
1756
+ "additionalProperties": false
1757
+ },
1758
+ {
1759
+ "type": "object",
1760
+ "properties": {
1761
+ "type": {
1762
+ "const": "result"
1763
+ },
1764
+ "id": {
1765
+ "type": "string",
1766
+ "minLength": 1,
1767
+ "maxLength": 256
1768
+ },
1769
+ "operation": {
1770
+ "const": "state.user.get"
1771
+ },
1772
+ "output": {
1773
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/state.user.get.output"
1774
+ }
1775
+ },
1776
+ "required": ["type", "id", "operation", "output"],
1777
+ "additionalProperties": false
1778
+ },
1779
+ {
1780
+ "type": "object",
1781
+ "properties": {
1782
+ "type": {
1783
+ "const": "invoke"
1784
+ },
1785
+ "id": {
1786
+ "type": "string",
1787
+ "minLength": 1,
1788
+ "maxLength": 256
1789
+ },
1790
+ "operation": {
1791
+ "const": "state.user.set"
1792
+ },
1793
+ "context": {
1794
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1795
+ },
1796
+ "input": {
1797
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/state.user.set.input"
1798
+ }
1799
+ },
1800
+ "required": ["type", "id", "operation", "context", "input"],
1801
+ "additionalProperties": false
1802
+ },
1803
+ {
1804
+ "type": "object",
1805
+ "properties": {
1806
+ "type": {
1807
+ "const": "result"
1808
+ },
1809
+ "id": {
1810
+ "type": "string",
1811
+ "minLength": 1,
1812
+ "maxLength": 256
1813
+ },
1814
+ "operation": {
1815
+ "const": "state.user.set"
1816
+ },
1817
+ "output": {
1818
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/state.user.set.output"
1819
+ }
1820
+ },
1821
+ "required": ["type", "id", "operation", "output"],
1822
+ "additionalProperties": false
1823
+ },
1824
+ {
1825
+ "type": "object",
1826
+ "properties": {
1827
+ "type": {
1828
+ "const": "invoke"
1829
+ },
1830
+ "id": {
1831
+ "type": "string",
1832
+ "minLength": 1,
1833
+ "maxLength": 256
1834
+ },
1835
+ "operation": {
1836
+ "const": "state.user.delete"
1837
+ },
1838
+ "context": {
1839
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1840
+ },
1841
+ "input": {
1842
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/state.user.delete.input"
1843
+ }
1844
+ },
1845
+ "required": ["type", "id", "operation", "context", "input"],
1846
+ "additionalProperties": false
1847
+ },
1848
+ {
1849
+ "type": "object",
1850
+ "properties": {
1851
+ "type": {
1852
+ "const": "result"
1853
+ },
1854
+ "id": {
1855
+ "type": "string",
1856
+ "minLength": 1,
1857
+ "maxLength": 256
1858
+ },
1859
+ "operation": {
1860
+ "const": "state.user.delete"
1861
+ },
1862
+ "output": {
1863
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/state.user.delete.output"
1864
+ }
1865
+ },
1866
+ "required": ["type", "id", "operation", "output"],
1867
+ "additionalProperties": false
1868
+ },
1869
+ {
1870
+ "type": "object",
1871
+ "properties": {
1872
+ "type": {
1873
+ "const": "invoke"
1874
+ },
1875
+ "id": {
1876
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
1877
+ },
1878
+ "operation": {
1879
+ "const": "agent.tasks.create"
1880
+ },
1881
+ "context": {
1882
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1883
+ },
1884
+ "input": {
1885
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.tasks.create.input"
1886
+ }
1887
+ },
1888
+ "required": ["type", "id", "operation", "context", "input"],
1889
+ "additionalProperties": false
1890
+ },
1891
+ {
1892
+ "type": "object",
1893
+ "properties": {
1894
+ "type": {
1895
+ "const": "result"
1896
+ },
1897
+ "id": {
1898
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
1899
+ },
1900
+ "operation": {
1901
+ "const": "agent.tasks.create"
1902
+ },
1903
+ "output": {
1904
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.tasks.create.output"
1905
+ }
1906
+ },
1907
+ "required": ["type", "id", "operation", "output"],
1908
+ "additionalProperties": false
1909
+ },
1910
+ {
1911
+ "type": "object",
1912
+ "properties": {
1913
+ "type": {
1914
+ "const": "invoke"
1915
+ },
1916
+ "id": {
1917
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
1918
+ },
1919
+ "operation": {
1920
+ "const": "agent.tasks.get"
1921
+ },
1922
+ "context": {
1923
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1924
+ },
1925
+ "input": {
1926
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.tasks.get.input"
1927
+ }
1928
+ },
1929
+ "required": ["type", "id", "operation", "context", "input"],
1930
+ "additionalProperties": false
1931
+ },
1932
+ {
1933
+ "type": "object",
1934
+ "properties": {
1935
+ "type": {
1936
+ "const": "result"
1937
+ },
1938
+ "id": {
1939
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
1940
+ },
1941
+ "operation": {
1942
+ "const": "agent.tasks.get"
1943
+ },
1944
+ "output": {
1945
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.tasks.get.output"
1946
+ }
1947
+ },
1948
+ "required": ["type", "id", "operation", "output"],
1949
+ "additionalProperties": false
1950
+ },
1951
+ {
1952
+ "type": "object",
1953
+ "properties": {
1954
+ "type": {
1955
+ "const": "invoke"
1956
+ },
1957
+ "id": {
1958
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
1959
+ },
1960
+ "operation": {
1961
+ "const": "agent.tasks.update"
1962
+ },
1963
+ "context": {
1964
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
1965
+ },
1966
+ "input": {
1967
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.tasks.update.input"
1968
+ }
1969
+ },
1970
+ "required": ["type", "id", "operation", "context", "input"],
1971
+ "additionalProperties": false
1972
+ },
1973
+ {
1974
+ "type": "object",
1975
+ "properties": {
1976
+ "type": {
1977
+ "const": "result"
1978
+ },
1979
+ "id": {
1980
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
1981
+ },
1982
+ "operation": {
1983
+ "const": "agent.tasks.update"
1984
+ },
1985
+ "output": {
1986
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.tasks.update.output"
1987
+ }
1988
+ },
1989
+ "required": ["type", "id", "operation", "output"],
1990
+ "additionalProperties": false
1991
+ },
1992
+ {
1993
+ "type": "object",
1994
+ "properties": {
1995
+ "type": {
1996
+ "const": "invoke"
1997
+ },
1998
+ "id": {
1999
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2000
+ },
2001
+ "operation": {
2002
+ "const": "agent.tasks.cancel"
2003
+ },
2004
+ "context": {
2005
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/McpInvocationContext"
2006
+ },
2007
+ "input": {
2008
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.tasks.cancel.input"
2009
+ }
2010
+ },
2011
+ "required": ["type", "id", "operation", "context", "input"],
2012
+ "additionalProperties": false
2013
+ },
2014
+ {
2015
+ "type": "object",
2016
+ "properties": {
2017
+ "type": {
2018
+ "const": "result"
2019
+ },
2020
+ "id": {
2021
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2022
+ },
2023
+ "operation": {
2024
+ "const": "agent.tasks.cancel"
2025
+ },
2026
+ "output": {
2027
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.tasks.cancel.output"
2028
+ }
2029
+ },
2030
+ "required": ["type", "id", "operation", "output"],
2031
+ "additionalProperties": false
2032
+ },
2033
+ {
2034
+ "type": "object",
2035
+ "properties": {
2036
+ "type": {
2037
+ "const": "invoke"
2038
+ },
2039
+ "id": {
2040
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2041
+ },
2042
+ "operation": {
2043
+ "const": "agent.project.inspect"
2044
+ },
2045
+ "context": {
2046
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/InvocationContext"
2047
+ },
2048
+ "input": {
2049
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.project.inspect.input"
2050
+ }
2051
+ },
2052
+ "required": ["type", "id", "operation", "context", "input"],
2053
+ "additionalProperties": false
2054
+ },
2055
+ {
2056
+ "type": "object",
2057
+ "properties": {
2058
+ "type": {
2059
+ "const": "result"
2060
+ },
2061
+ "id": {
2062
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2063
+ },
2064
+ "operation": {
2065
+ "const": "agent.project.inspect"
2066
+ },
2067
+ "output": {
2068
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.project.inspect.output"
2069
+ }
2070
+ },
2071
+ "required": ["type", "id", "operation", "output"],
2072
+ "additionalProperties": false
2073
+ },
2074
+ {
2075
+ "type": "object",
2076
+ "properties": {
2077
+ "type": {
2078
+ "const": "invoke"
2079
+ },
2080
+ "id": {
2081
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2082
+ },
2083
+ "operation": {
2084
+ "const": "agent.run.inspect"
2085
+ },
2086
+ "context": {
2087
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/OwnerSessionInvocationContext"
2088
+ },
2089
+ "input": {
2090
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.inspect.input"
2091
+ }
2092
+ },
2093
+ "required": ["type", "id", "operation", "context", "input"],
2094
+ "additionalProperties": false
2095
+ },
2096
+ {
2097
+ "type": "object",
2098
+ "properties": {
2099
+ "type": {
2100
+ "const": "result"
2101
+ },
2102
+ "id": {
2103
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2104
+ },
2105
+ "operation": {
2106
+ "const": "agent.run.inspect"
2107
+ },
2108
+ "output": {
2109
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.run.inspect.output"
2110
+ }
2111
+ },
2112
+ "required": ["type", "id", "operation", "output"],
2113
+ "additionalProperties": false
2114
+ },
2115
+ {
2116
+ "type": "object",
2117
+ "properties": {
2118
+ "type": {
2119
+ "const": "invoke"
2120
+ },
2121
+ "id": {
2122
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2123
+ },
2124
+ "operation": {
2125
+ "const": "agent.process.list"
2126
+ },
2127
+ "context": {
2128
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/OwnerSessionInvocationContext"
2129
+ },
2130
+ "input": {
2131
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.process.list.input"
2132
+ }
2133
+ },
2134
+ "required": ["type", "id", "operation", "context", "input"],
2135
+ "additionalProperties": false
2136
+ },
2137
+ {
2138
+ "type": "object",
2139
+ "properties": {
2140
+ "type": {
2141
+ "const": "result"
2142
+ },
2143
+ "id": {
2144
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2145
+ },
2146
+ "operation": {
2147
+ "const": "agent.process.list"
2148
+ },
2149
+ "output": {
2150
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.process.list.output"
2151
+ }
2152
+ },
2153
+ "required": ["type", "id", "operation", "output"],
2154
+ "additionalProperties": false
2155
+ },
2156
+ {
2157
+ "type": "object",
2158
+ "properties": {
2159
+ "type": {
2160
+ "const": "invoke"
2161
+ },
2162
+ "id": {
2163
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2164
+ },
2165
+ "operation": {
2166
+ "const": "agent.process.get"
2167
+ },
2168
+ "context": {
2169
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/OwnerSessionInvocationContext"
2170
+ },
2171
+ "input": {
2172
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.process.get.input"
2173
+ }
2174
+ },
2175
+ "required": ["type", "id", "operation", "context", "input"],
2176
+ "additionalProperties": false
2177
+ },
2178
+ {
2179
+ "type": "object",
2180
+ "properties": {
2181
+ "type": {
2182
+ "const": "result"
2183
+ },
2184
+ "id": {
2185
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2186
+ },
2187
+ "operation": {
2188
+ "const": "agent.process.get"
2189
+ },
2190
+ "output": {
2191
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.process.get.output"
2192
+ }
2193
+ },
2194
+ "required": ["type", "id", "operation", "output"],
2195
+ "additionalProperties": false
2196
+ },
2197
+ {
2198
+ "type": "object",
2199
+ "properties": {
2200
+ "type": {
2201
+ "const": "invoke"
2202
+ },
2203
+ "id": {
2204
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2205
+ },
2206
+ "operation": {
2207
+ "const": "agent.process.stop"
2208
+ },
2209
+ "context": {
2210
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/OwnerSessionInvocationContext"
2211
+ },
2212
+ "input": {
2213
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.process.stop.input"
2214
+ }
2215
+ },
2216
+ "required": ["type", "id", "operation", "context", "input"],
2217
+ "additionalProperties": false
2218
+ },
2219
+ {
2220
+ "type": "object",
2221
+ "properties": {
2222
+ "type": {
2223
+ "const": "result"
2224
+ },
2225
+ "id": {
2226
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2227
+ },
2228
+ "operation": {
2229
+ "const": "agent.process.stop"
2230
+ },
2231
+ "output": {
2232
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.process.stop.output"
2233
+ }
2234
+ },
2235
+ "required": ["type", "id", "operation", "output"],
2236
+ "additionalProperties": false
2237
+ },
2238
+ {
2239
+ "type": "object",
2240
+ "properties": {
2241
+ "type": {
2242
+ "const": "invoke"
2243
+ },
2244
+ "id": {
2245
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2246
+ },
2247
+ "operation": {
2248
+ "const": "agent.project.close"
2249
+ },
2250
+ "context": {
2251
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/types.schema.json#/$defs/InvocationContext"
2252
+ },
2253
+ "input": {
2254
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.project.close.input"
2255
+ }
2256
+ },
2257
+ "required": ["type", "id", "operation", "context", "input"],
2258
+ "additionalProperties": false
2259
+ },
2260
+ {
2261
+ "type": "object",
2262
+ "properties": {
2263
+ "type": {
2264
+ "const": "result"
2265
+ },
2266
+ "id": {
2267
+ "$ref": "https://schemas.nexum.local/agent/v2/common.schema.json#/$defs/id"
2268
+ },
2269
+ "operation": {
2270
+ "const": "agent.project.close"
2271
+ },
2272
+ "output": {
2273
+ "$ref": "https://schemas.nexum.local/agent/v2/wire/operations.schema.json#/$defs/agent.project.close.output"
2274
+ }
2275
+ },
2276
+ "required": ["type", "id", "operation", "output"],
2277
+ "additionalProperties": false
2278
+ }
2279
+ ]
2280
+ }