@opensoha/contracts 0.1.29 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (819) hide show
  1. package/COMPATIBILITY.md +139 -15
  2. package/README.md +153 -49
  3. package/agent/agent-protocol.schema.json +2 -2
  4. package/agent/dsh-runtime.README.md +207 -0
  5. package/agent/dsh-runtime.schema.json +1165 -0
  6. package/agent/environment/mcp_stdio.go +30 -0
  7. package/agent/guest/runtime.go +1 -1
  8. package/agent/guest/runtime_test.go +1 -1
  9. package/auth/catalog_generated.go +2 -2
  10. package/auth/docker_permissions_test.go +44 -0
  11. package/auth/permission-catalog.json +65 -1
  12. package/auth/radius_permissions_test.go +44 -0
  13. package/compat/consumer-revisions.json +6 -6
  14. package/compat/openapi-loose-boundaries-0.1.0.json +4 -0
  15. package/docker/runtime/compose.go +128 -0
  16. package/docker/runtime/compose_replicas_test.go +20 -0
  17. package/docker/runtime/container_set.go +50 -0
  18. package/docker/runtime/container_set_test.go +31 -0
  19. package/docker/runtime/identity.go +130 -0
  20. package/docker/runtime/identity_test.go +91 -0
  21. package/docker/runtime/read.go +141 -0
  22. package/docker/runtime/read_result.go +93 -0
  23. package/docker/runtime/read_result_test.go +111 -0
  24. package/docker/runtime/read_test.go +63 -0
  25. package/docker/runtime/terminal.go +86 -0
  26. package/docker/runtime/terminal_test.go +50 -0
  27. package/examples/relations_compat_test.go +1 -1
  28. package/fixtures/json-schema/agent-protocol/valid/dsh-agent-status.json +17 -0
  29. package/fixtures/json-schema/docker-container-identity/invalid/name-instead-of-id.json +8 -0
  30. package/fixtures/json-schema/docker-container-identity/invalid/short-id.json +8 -0
  31. package/fixtures/json-schema/docker-container-identity/invalid/unknown-field.json +9 -0
  32. package/fixtures/json-schema/docker-container-identity/invalid/unsafe-service.json +8 -0
  33. package/fixtures/json-schema/docker-container-identity/valid/bound-container.json +8 -0
  34. package/fixtures/json-schema/docker-project-identity/invalid/injected-field.json +7 -0
  35. package/fixtures/json-schema/docker-project-identity/invalid/invalid-uid.json +6 -0
  36. package/fixtures/json-schema/docker-project-identity/invalid/legacy-protocol.json +6 -0
  37. package/fixtures/json-schema/docker-project-identity/invalid/nil-uid.json +6 -0
  38. package/fixtures/json-schema/docker-project-identity/invalid/slug-namespace.json +6 -0
  39. package/fixtures/json-schema/docker-project-identity/valid/bound-project.json +6 -0
  40. package/fixtures/json-schema/docker-runtime-read/invalid/1.json +14 -0
  41. package/fixtures/json-schema/docker-runtime-read/invalid/2.json +14 -0
  42. package/fixtures/json-schema/docker-runtime-read/invalid/3.json +14 -0
  43. package/fixtures/json-schema/docker-runtime-read/invalid/4.json +16 -0
  44. package/fixtures/json-schema/docker-runtime-read/invalid/5.json +14 -0
  45. package/fixtures/json-schema/docker-runtime-read/invalid/6.json +15 -0
  46. package/fixtures/json-schema/docker-runtime-read/invalid/7.json +15 -0
  47. package/fixtures/json-schema/docker-runtime-read/valid/1.json +14 -0
  48. package/fixtures/json-schema/docker-runtime-read/valid/2.json +14 -0
  49. package/fixtures/json-schema/docker-runtime-read/valid/3.json +17 -0
  50. package/fixtures/json-schema/docker-runtime-read/valid/4.json +17 -0
  51. package/fixtures/json-schema/docker-runtime-read-result/invalid/contradictory-completeness.json +21 -0
  52. package/fixtures/json-schema/docker-runtime-read-result/invalid/host-source-leak.json +28 -0
  53. package/fixtures/json-schema/docker-runtime-read-result/invalid/missing-files.json +20 -0
  54. package/fixtures/json-schema/docker-runtime-read-result/invalid/unsupported-browse.json +27 -0
  55. package/fixtures/json-schema/docker-runtime-read-result/valid/logs.json +21 -0
  56. package/fixtures/json-schema/docker-runtime-read-result/valid/volumes.json +27 -0
  57. package/fixtures/json-schema/dsh-runtime/invalid/assembly-report-credential.json +21 -0
  58. package/fixtures/json-schema/dsh-runtime/invalid/attempt-zero.json +18 -0
  59. package/fixtures/json-schema/dsh-runtime/invalid/bad-deadline.json +18 -0
  60. package/fixtures/json-schema/dsh-runtime/invalid/bad-hash.json +18 -0
  61. package/fixtures/json-schema/dsh-runtime/invalid/event-delta-missing.json +10 -0
  62. package/fixtures/json-schema/dsh-runtime/invalid/event-grant.json +12 -0
  63. package/fixtures/json-schema/dsh-runtime/invalid/event-sequence-zero.json +12 -0
  64. package/fixtures/json-schema/dsh-runtime/invalid/fence-zero.json +18 -0
  65. package/fixtures/json-schema/dsh-runtime/invalid/health-unknown-field.json +12 -0
  66. package/fixtures/json-schema/dsh-runtime/invalid/output-budget-zero.json +18 -0
  67. package/fixtures/json-schema/dsh-runtime/invalid/receipt-grant.json +12 -0
  68. package/fixtures/json-schema/dsh-runtime/invalid/start-assembly-url.json +32 -0
  69. package/fixtures/json-schema/dsh-runtime/invalid/start-chat-write-tool.json +38 -0
  70. package/fixtures/json-schema/dsh-runtime/invalid/start-client-base-url.json +19 -0
  71. package/fixtures/json-schema/dsh-runtime/invalid/start-client-callback.json +19 -0
  72. package/fixtures/json-schema/dsh-runtime/invalid/start-missing-readonly.json +37 -0
  73. package/fixtures/json-schema/dsh-runtime/invalid/status-grant.json +19 -0
  74. package/fixtures/json-schema/dsh-runtime/invalid/status-usage-missing.json +13 -0
  75. package/fixtures/json-schema/dsh-runtime/invalid/status-usage-unknown.json +18 -0
  76. package/fixtures/json-schema/dsh-runtime/invalid/tool-call-missing-call-id.json +13 -0
  77. package/fixtures/json-schema/dsh-runtime/invalid/tool-result-missing-hash.json +13 -0
  78. package/fixtures/json-schema/dsh-runtime/invalid/union-extra-field.json +12 -0
  79. package/fixtures/json-schema/dsh-runtime/invalid/unsupported-version.json +18 -0
  80. package/fixtures/json-schema/dsh-runtime/valid/assembly-decision.json +21 -0
  81. package/fixtures/json-schema/dsh-runtime/valid/assembly-report-mcp.json +34 -0
  82. package/fixtures/json-schema/dsh-runtime/valid/assembly-report.json +20 -0
  83. package/fixtures/json-schema/dsh-runtime/valid/cancel.json +8 -0
  84. package/fixtures/json-schema/dsh-runtime/valid/event-delta.json +12 -0
  85. package/fixtures/json-schema/dsh-runtime/valid/event-hook-observed.json +14 -0
  86. package/fixtures/json-schema/dsh-runtime/valid/event-terminal.json +13 -0
  87. package/fixtures/json-schema/dsh-runtime/valid/health.json +11 -0
  88. package/fixtures/json-schema/dsh-runtime/valid/receipt.json +11 -0
  89. package/fixtures/json-schema/dsh-runtime/valid/start-assembly.json +31 -0
  90. package/fixtures/json-schema/dsh-runtime/valid/start-chat.json +18 -0
  91. package/fixtures/json-schema/dsh-runtime/valid/start-heya.json +38 -0
  92. package/fixtures/json-schema/dsh-runtime/valid/status-completed.json +18 -0
  93. package/fixtures/json-schema/dsh-runtime/valid/status-unknown.json +13 -0
  94. package/fixtures/json-schema/dsh-runtime/valid/tool-call.json +1 -0
  95. package/fixtures/json-schema/dsh-runtime/valid/tool-result-denied.json +15 -0
  96. package/fixtures/json-schema/dsh-runtime/valid/tool-result.json +14 -0
  97. package/fixtures/json-schema/memory-policy/invalid/invalid-mode.json +17 -0
  98. package/fixtures/json-schema/memory-policy/valid/scoped.json +17 -0
  99. package/fixtures/json-schema/memory-record/invalid/invalid-source-hash.json +21 -0
  100. package/fixtures/json-schema/memory-record/invalid/invalid-sync-status.json +21 -0
  101. package/fixtures/json-schema/memory-record/invalid/quarantine-reason-too-long.json +23 -0
  102. package/fixtures/json-schema/memory-record/valid/quarantined.json +23 -0
  103. package/fixtures/json-schema/memory-record/valid/synced.json +21 -0
  104. package/fixtures/json-schema/network-ingest-event/invalid/proxy-runtime-epoch-without-sequence.json +23 -0
  105. package/fixtures/json-schema/network-ingest-event/invalid/proxy-runtime-unsafe-sequence.json +24 -0
  106. package/fixtures/json-schema/network-ingest-event/valid/proxy-runtime-epoch.json +24 -0
  107. package/fixtures/json-schema/network-runtime-protocol/invalid/eap-activate-partial-profile.json +16 -0
  108. package/fixtures/json-schema/network-runtime-protocol/invalid/eap-revoke-other-kind.json +16 -0
  109. package/fixtures/json-schema/network-runtime-protocol/invalid/enrollment-duplicate-capability.json +30 -0
  110. package/fixtures/json-schema/network-runtime-protocol/invalid/enrollment-unknown-capability.json +30 -0
  111. package/fixtures/json-schema/network-runtime-protocol/invalid/legacy-with-proof.json +19 -0
  112. package/fixtures/json-schema/network-runtime-protocol/invalid/ttls-certificate.json +42 -0
  113. package/fixtures/json-schema/network-runtime-protocol/invalid/ttls-device-override.json +19 -0
  114. package/fixtures/json-schema/network-runtime-protocol/invalid/ttls-no-proof.json +17 -0
  115. package/fixtures/json-schema/network-runtime-protocol/invalid/ttls-nonstation-identity.json +18 -0
  116. package/fixtures/json-schema/network-runtime-protocol/invalid/ttls-profile-without-pap.json +40 -0
  117. package/fixtures/json-schema/network-runtime-protocol/valid/app-default-enrollment.json +29 -0
  118. package/fixtures/json-schema/network-runtime-protocol/valid/app-mihomo-enrollment.json +32 -0
  119. package/fixtures/json-schema/network-runtime-protocol/valid/eap-activate-profile.json +17 -0
  120. package/fixtures/json-schema/network-runtime-protocol/valid/eap-revoke-result.json +16 -0
  121. package/fixtures/json-schema/network-runtime-protocol/valid/eap-revoke.json +16 -0
  122. package/fixtures/json-schema/network-runtime-protocol/valid/proxy-default-enrollment.json +23 -0
  123. package/fixtures/json-schema/network-runtime-protocol/valid/ttls-authorization.json +18 -0
  124. package/fixtures/json-schema/network-runtime-protocol/valid/ttls-profile-enrollment.json +23 -0
  125. package/fixtures/json-schema/network-runtime-protocol/valid/ttls-profile.json +41 -0
  126. package/fixtures/json-schema/proxy-adapter/invalid/apply-incomplete-result.json +11 -0
  127. package/fixtures/json-schema/proxy-adapter/invalid/close-incomplete-result.json +9 -0
  128. package/fixtures/json-schema/proxy-adapter/invalid/handshake-incomplete-result.json +11 -0
  129. package/fixtures/json-schema/proxy-adapter/invalid/invalid-method.json +11 -0
  130. package/fixtures/json-schema/proxy-adapter/invalid/major.json +11 -0
  131. package/fixtures/json-schema/proxy-adapter/invalid/missing-challenge.json +9 -0
  132. package/fixtures/json-schema/proxy-adapter/invalid/multiple-outcomes.json +12 -0
  133. package/fixtures/json-schema/proxy-adapter/invalid/observe-incomplete-result.json +9 -0
  134. package/fixtures/json-schema/proxy-adapter/invalid/unknown-field.json +12 -0
  135. package/fixtures/json-schema/proxy-adapter/valid/apply-result.json +12 -0
  136. package/fixtures/json-schema/proxy-adapter/valid/close-result.json +11 -0
  137. package/fixtures/json-schema/proxy-adapter/valid/handshake-result.json +19 -0
  138. package/fixtures/json-schema/proxy-adapter/valid/handshake.json +11 -0
  139. package/fixtures/json-schema/proxy-adapter/valid/observe-result.json +20 -0
  140. package/fixtures/json-schema/proxy-runtime/invalid/deployment-stop-accepting.json +19 -0
  141. package/fixtures/json-schema/proxy-runtime/invalid/deployment-stopped-unknown.json +21 -0
  142. package/fixtures/json-schema/proxy-runtime/invalid/duplicate-capability.json +20 -0
  143. package/fixtures/json-schema/proxy-runtime/invalid/guarded-udp-unknown.json +19 -0
  144. package/fixtures/json-schema/proxy-runtime/invalid/ingress-check-cross-payload.json +9 -0
  145. package/fixtures/json-schema/proxy-runtime/invalid/ingress-check-result-cross-payload.json +9 -0
  146. package/fixtures/json-schema/proxy-runtime/invalid/publication-ready-cross-payload.json +9 -0
  147. package/fixtures/json-schema/proxy-runtime/invalid/unknown-field.json +18 -0
  148. package/fixtures/json-schema/proxy-runtime/valid/deployment-process-stopped.json +21 -0
  149. package/fixtures/json-schema/proxy-runtime/valid/deployment-stop-required.json +19 -0
  150. package/fixtures/json-schema/proxy-runtime/valid/guarded-udp.json +20 -0
  151. package/fixtures/json-schema/proxy-runtime/valid/ingress-check-result.json +15 -0
  152. package/fixtures/json-schema/proxy-runtime/valid/ingress-check.json +18 -0
  153. package/fixtures/json-schema/proxy-runtime/valid/management-capabilities.json +26 -0
  154. package/fixtures/json-schema/proxy-runtime/valid/observation.json +17 -0
  155. package/fixtures/json-schema/proxy-runtime/valid/publication-ready.json +16 -0
  156. package/fixtures/json-schema/radius-password-verifier/invalid/bare-pap.json +9 -0
  157. package/fixtures/json-schema/radius-password-verifier/invalid/empty-password.json +9 -0
  158. package/fixtures/json-schema/radius-password-verifier/invalid/enumeration.json +4 -0
  159. package/fixtures/json-schema/radius-password-verifier/invalid/failure-with-subject.json +5 -0
  160. package/fixtures/json-schema/radius-password-verifier/invalid/invalid-station.json +9 -0
  161. package/fixtures/json-schema/radius-password-verifier/invalid/radius-xlat.json +16 -0
  162. package/fixtures/json-schema/radius-password-verifier/invalid/raw-password.json +10 -0
  163. package/fixtures/json-schema/radius-password-verifier/invalid/success-without-receipt.json +5 -0
  164. package/fixtures/json-schema/radius-password-verifier/invalid/too-long.json +9 -0
  165. package/fixtures/json-schema/radius-password-verifier/invalid/url-base64.json +9 -0
  166. package/fixtures/json-schema/radius-password-verifier/invalid/wrong-method.json +9 -0
  167. package/fixtures/json-schema/radius-password-verifier/valid/failure.json +4 -0
  168. package/fixtures/json-schema/radius-password-verifier/valid/radius-success.json +16 -0
  169. package/fixtures/json-schema/radius-password-verifier/valid/request.json +9 -0
  170. package/fixtures/json-schema/radius-password-verifier/valid/success.json +6 -0
  171. package/fixtures/json-schema/radius-runtime/invalid/control-with-secret.json +30 -0
  172. package/fixtures/json-schema/radius-runtime/invalid/known-null.json +21 -0
  173. package/fixtures/json-schema/radius-runtime/invalid/known-without-count.json +20 -0
  174. package/fixtures/json-schema/radius-runtime/invalid/stopped-still-accepting.json +21 -0
  175. package/fixtures/json-schema/radius-runtime/invalid/stopped-with-live-state.json +21 -0
  176. package/fixtures/json-schema/radius-runtime/invalid/unknown-with-zero.json +21 -0
  177. package/fixtures/json-schema/radius-runtime/valid/bootstrap-control.json +29 -0
  178. package/fixtures/json-schema/radius-runtime/valid/known-zero.json +21 -0
  179. package/fixtures/json-schema/radius-runtime/valid/owned-child-stopped.json +21 -0
  180. package/fixtures/json-schema/radius-runtime/valid/unknown-state.json +20 -0
  181. package/fixtures/openapi/AIMemoryPolicy/invalid/invalid-mode.json +16 -0
  182. package/fixtures/openapi/AIMemoryPolicy/valid/legacy-global.json +12 -0
  183. package/fixtures/openapi/AIMemoryPolicy/valid/scoped.json +16 -0
  184. package/fixtures/openapi/AIMemoryPolicyInput/invalid/invalid-mode.json +9 -0
  185. package/fixtures/openapi/AIMemoryPolicyInput/invalid/owner-spoof.json +10 -0
  186. package/fixtures/openapi/AIMemoryPolicyInput/valid/heya-automatic.json +9 -0
  187. package/fixtures/openapi/AIMemoryPolicyInput/valid/scoped.json +9 -0
  188. package/fixtures/openapi/AIMemoryRecord/invalid/invalid-source-hash.json +20 -0
  189. package/fixtures/openapi/AIMemoryRecord/invalid/invalid-sync-status.json +20 -0
  190. package/fixtures/openapi/AIMemoryRecord/invalid/quarantine-reason-too-long.json +22 -0
  191. package/fixtures/openapi/AIMemoryRecord/valid/delete-pending.json +21 -0
  192. package/fixtures/openapi/AIMemoryRecord/valid/quarantined.json +22 -0
  193. package/fixtures/openapi/AIMemoryRecord/valid/synced.json +20 -0
  194. package/fixtures/openapi/AgentConditionalResourceMutationRequest/invalid/preconditions-v1.json +8 -0
  195. package/fixtures/openapi/AgentConditionalResourceMutationRequest/valid/preconditions-v1.json +9 -0
  196. package/fixtures/openapi/AgentConditionalResourceYamlRequest/invalid/preconditions-v1.json +6 -0
  197. package/fixtures/openapi/AgentConditionalResourceYamlRequest/valid/preconditions-v1.json +10 -0
  198. package/fixtures/openapi/AgentPodArgvResult/invalid/native-pod-execution-v1.json +17 -0
  199. package/fixtures/openapi/AgentPodArgvResult/valid/native-pod-execution-v1.json +24 -0
  200. package/fixtures/openapi/AgentPodExecutionCapabilities/invalid/native-pod-execution-v1.json +7 -0
  201. package/fixtures/openapi/AgentPodExecutionCapabilities/valid/native-pod-execution-v1.json +7 -0
  202. package/fixtures/openapi/AgentRunCallbackRequest/valid/dsh-agent-status.json +17 -0
  203. package/fixtures/openapi/AlertOwnershipInput/invalid/workbench.json +3 -0
  204. package/fixtures/openapi/AlertOwnershipInput/valid/workbench.json +4 -0
  205. package/fixtures/openapi/ApplicationEnvironmentListEnvelope/invalid/legacy-list-alias.json +4 -0
  206. package/fixtures/openapi/ApplicationEnvironmentListEnvelope/valid/legacy-list-alias.json +4 -0
  207. package/fixtures/openapi/ApplicationListEnvelope/invalid/legacy-list-alias.json +4 -0
  208. package/fixtures/openapi/ApplicationListEnvelope/valid/legacy-list-alias.json +4 -0
  209. package/fixtures/openapi/ApplicationServiceListEnvelope/invalid/legacy-list-alias.json +4 -0
  210. package/fixtures/openapi/ApplicationServiceListEnvelope/valid/legacy-list-alias.json +4 -0
  211. package/fixtures/openapi/CLIAuthContext/invalid/cli-boundary.json +13 -0
  212. package/fixtures/openapi/CLIAuthContext/valid/cli-boundary.json +12 -0
  213. package/fixtures/openapi/CLIAuthOptions/invalid/cli-boundary.json +14 -0
  214. package/fixtures/openapi/CLIAuthOptions/valid/cli-boundary.json +13 -0
  215. package/fixtures/openapi/CLIAuthOptions/valid/governed-ai.json +14 -0
  216. package/fixtures/openapi/CLIDeviceAuthorization/invalid/cli-boundary.json +10 -0
  217. package/fixtures/openapi/CLIDeviceAuthorization/invalid/numeric-code.json +9 -0
  218. package/fixtures/openapi/CLIDeviceAuthorization/valid/cli-boundary.json +9 -0
  219. package/fixtures/openapi/CLIDeviceAuthorizationCreateRequest/invalid/basic.json +5 -0
  220. package/fixtures/openapi/CLIDeviceAuthorizationCreateRequest/valid/basic.json +5 -0
  221. package/fixtures/openapi/CLIDeviceCancelRequest/invalid/cli-boundary.json +5 -0
  222. package/fixtures/openapi/CLIDeviceCancelRequest/valid/cli-boundary.json +4 -0
  223. package/fixtures/openapi/CLIDeviceDecisionRequest/invalid/basic.json +6 -0
  224. package/fixtures/openapi/CLIDeviceDecisionRequest/valid/basic.json +6 -0
  225. package/fixtures/openapi/CLIDeviceInspectRequest/invalid/basic.json +4 -0
  226. package/fixtures/openapi/CLIDeviceInspectRequest/valid/basic.json +4 -0
  227. package/fixtures/openapi/CLIDeviceTokenRequest/invalid/basic.json +5 -0
  228. package/fixtures/openapi/CLIDeviceTokenRequest/valid/basic.json +5 -0
  229. package/fixtures/openapi/CLILogoutRequest/invalid/cli-boundary.json +4 -0
  230. package/fixtures/openapi/CLILogoutRequest/valid/cli-boundary.json +3 -0
  231. package/fixtures/openapi/CLIRefreshRequest/invalid/basic.json +3 -0
  232. package/fixtures/openapi/CLIRefreshRequest/valid/basic.json +4 -0
  233. package/fixtures/openapi/CLISession/invalid/cli-boundary.json +12 -0
  234. package/fixtures/openapi/CLISession/valid/cli-boundary.json +11 -0
  235. package/fixtures/openapi/DeliveryBlueprintListEnvelope/invalid/legacy-list-alias.json +4 -0
  236. package/fixtures/openapi/DeliveryBlueprintListEnvelope/valid/legacy-list-alias.json +4 -0
  237. package/fixtures/openapi/DeliveryEnvironmentListEnvelope/invalid/legacy-list-alias.json +4 -0
  238. package/fixtures/openapi/DeliveryEnvironmentListEnvelope/valid/legacy-list-alias.json +4 -0
  239. package/fixtures/openapi/DeliveryPlanServiceReferenceImpact/invalid/hidden-count.json +24 -0
  240. package/fixtures/openapi/DeliveryPlanServiceReferenceImpact/invalid/hidden-identities.json +26 -0
  241. package/fixtures/openapi/DeliveryPlanServiceReferenceImpact/invalid/invalid-frozen-revision.json +23 -0
  242. package/fixtures/openapi/DeliveryPlanServiceReferenceImpact/invalid/missing-current-revision.json +22 -0
  243. package/fixtures/openapi/DeliveryPlanServiceReferenceImpact/invalid/private-complete-snapshot.json +37 -0
  244. package/fixtures/openapi/DeliveryPlanServiceReferenceImpact/invalid/too-many-items.json +1223 -0
  245. package/fixtures/openapi/DeliveryPlanServiceReferenceImpact/valid/current-plan.json +23 -0
  246. package/fixtures/openapi/DeliveryPlanServiceReferenceImpact/valid/stale-plan-current-visible-page.json +23 -0
  247. package/fixtures/openapi/DeliveryTemplateUsageApplication/invalid/unknown-field.json +4 -0
  248. package/fixtures/openapi/DeliveryTemplateUsageApplication/valid/minimal.json +3 -0
  249. package/fixtures/openapi/DeliveryTemplateUsageBinding/invalid/unknown-field.json +6 -0
  250. package/fixtures/openapi/DeliveryTemplateUsageBinding/valid/minimal.json +5 -0
  251. package/fixtures/openapi/DeliveryTemplateUsageBuildSource/invalid/unknown-field.json +7 -0
  252. package/fixtures/openapi/DeliveryTemplateUsageBuildSource/valid/minimal.json +6 -0
  253. package/fixtures/openapi/DeliveryTemplateUsageEnvironment/invalid/unknown-field.json +5 -0
  254. package/fixtures/openapi/DeliveryTemplateUsageEnvironment/valid/minimal.json +4 -0
  255. package/fixtures/openapi/DeliveryTemplateUsageRuntimeItem/invalid/unknown-field.json +6 -0
  256. package/fixtures/openapi/DeliveryTemplateUsageRuntimeItem/valid/minimal.json +5 -0
  257. package/fixtures/openapi/DeliveryTemplateUsageRuntimeSummary/invalid/unknown-field.json +20 -0
  258. package/fixtures/openapi/DeliveryTemplateUsageRuntimeSummary/valid/minimal.json +19 -0
  259. package/fixtures/openapi/DeliveryTemplateUsageSummary/invalid/missing-kind.json +16 -0
  260. package/fixtures/openapi/DeliveryTemplateUsageSummary/valid/static.json +17 -0
  261. package/fixtures/openapi/DeliveryTemplateUsageSummaryEnvelope/invalid/legacy-items.json +3 -0
  262. package/fixtures/openapi/DeliveryTemplateUsageSummaryEnvelope/valid/static.json +19 -0
  263. package/fixtures/openapi/DirectorySyncRequestEnvelope/invalid/original-request.json +25 -0
  264. package/fixtures/openapi/DirectorySyncRequestEnvelope/valid/original-request.json +24 -0
  265. package/fixtures/openapi/DirectorySyncRequestInput/invalid/original-request.json +4 -0
  266. package/fixtures/openapi/DirectorySyncRequestInput/valid/original-request.json +3 -0
  267. package/fixtures/openapi/DirectorySyncRequestOrganizations/invalid/original-request.json +7 -0
  268. package/fixtures/openapi/DirectorySyncRequestOrganizations/valid/original-request.json +6 -0
  269. package/fixtures/openapi/DirectorySyncRequestPeople/invalid/original-request.json +7 -0
  270. package/fixtures/openapi/DirectorySyncRequestPeople/valid/original-request.json +6 -0
  271. package/fixtures/openapi/DirectorySyncRequestReceipt/invalid/original-request.json +23 -0
  272. package/fixtures/openapi/DirectorySyncRequestReceipt/valid/original-request.json +22 -0
  273. package/fixtures/openapi/DirectorySyncRequestRun/invalid/cancel-flag.json +1 -0
  274. package/fixtures/openapi/DirectorySyncRequestRun/invalid/original-request.json +19 -0
  275. package/fixtures/openapi/DirectorySyncRequestRun/valid/original-request.json +19 -0
  276. package/fixtures/openapi/DockerConfigurationChange/invalid/field.json +5 -0
  277. package/fixtures/openapi/DockerConfigurationChange/invalid/integer-overflow.json +4 -0
  278. package/fixtures/openapi/DockerConfigurationChange/valid/field.json +4 -0
  279. package/fixtures/openapi/DockerConfigurationDeleteInput/invalid/delete.json +7 -0
  280. package/fixtures/openapi/DockerConfigurationDeleteInput/valid/delete.json +7 -0
  281. package/fixtures/openapi/DockerConfigurationMapValue/invalid/map.json +1 -0
  282. package/fixtures/openapi/DockerConfigurationMapValue/valid/map.json +3 -0
  283. package/fixtures/openapi/DockerConfigurationPatchInput/invalid/missing-target-host.json +13 -0
  284. package/fixtures/openapi/DockerConfigurationPatchInput/invalid/patch.json +8 -0
  285. package/fixtures/openapi/DockerConfigurationPatchInput/invalid/unused-target-host.json +14 -0
  286. package/fixtures/openapi/DockerConfigurationPatchInput/valid/explicit-zero-and-empty.json +21 -0
  287. package/fixtures/openapi/DockerConfigurationPatchInput/valid/host-move.json +14 -0
  288. package/fixtures/openapi/DockerConfigurationPatchInput/valid/patch.json +13 -0
  289. package/fixtures/openapi/DockerConfigurationPreconditions/invalid/identity.json +3 -0
  290. package/fixtures/openapi/DockerConfigurationPreconditions/valid/identity.json +4 -0
  291. package/fixtures/openapi/DockerConfigurationReceipt/invalid/receipt.json +15 -0
  292. package/fixtures/openapi/DockerConfigurationReceipt/valid/receipt.json +14 -0
  293. package/fixtures/openapi/DockerConfigurationReceiptEnvelope/invalid/receipt.json +16 -0
  294. package/fixtures/openapi/DockerConfigurationReceiptEnvelope/valid/receipt.json +16 -0
  295. package/fixtures/openapi/DockerConfigurationScalar/invalid/simple.json +1 -0
  296. package/fixtures/openapi/DockerConfigurationScalar/valid/simple.json +1 -0
  297. package/fixtures/openapi/DockerHostRegistration/invalid/host.json +4 -0
  298. package/fixtures/openapi/DockerHostRegistration/valid/host.json +6 -0
  299. package/fixtures/openapi/DockerHostRegistrationInput/invalid/registration.json +4 -0
  300. package/fixtures/openapi/DockerHostRegistrationInput/valid/registration.json +6 -0
  301. package/fixtures/openapi/DockerNativeTerminalCreated/invalid/native-v1.json +24 -0
  302. package/fixtures/openapi/DockerNativeTerminalCreated/valid/native-v1.json +23 -0
  303. package/fixtures/openapi/DockerNativeTerminalCreatedEnvelope/invalid/native-v1.json +26 -0
  304. package/fixtures/openapi/DockerNativeTerminalCreatedEnvelope/valid/native-v1.json +25 -0
  305. package/fixtures/openapi/DockerNativeTerminalInput/invalid/native-v1.json +9 -0
  306. package/fixtures/openapi/DockerNativeTerminalInput/valid/native-v1.json +8 -0
  307. package/fixtures/openapi/DockerNativeTerminalSession/invalid/native-v1.json +21 -0
  308. package/fixtures/openapi/DockerNativeTerminalSession/valid/native-v1.json +20 -0
  309. package/fixtures/openapi/DockerNativeTerminalSessionEnvelope/invalid/native-v1.json +23 -0
  310. package/fixtures/openapi/DockerNativeTerminalSessionEnvelope/valid/native-v1.json +22 -0
  311. package/fixtures/openapi/DockerProjectDeployInput/invalid/missing-host.json +8 -0
  312. package/fixtures/openapi/DockerProjectDeployInput/valid/bound.json +14 -0
  313. package/fixtures/openapi/DockerProjectDeployInput/valid/legacy.json +1 -0
  314. package/fixtures/openapi/DockerProjectDeployPreconditions/invalid/missing-host.json +6 -0
  315. package/fixtures/openapi/DockerProjectDeployPreconditions/valid/bound.json +11 -0
  316. package/fixtures/openapi/DockerResourceIdentity/invalid/configuration-leak.json +9 -0
  317. package/fixtures/openapi/DockerResourceIdentity/invalid/host-with-host.json +7 -0
  318. package/fixtures/openapi/DockerResourceIdentity/invalid/invalid-uid.json +6 -0
  319. package/fixtures/openapi/DockerResourceIdentity/invalid/missing-revision.json +5 -0
  320. package/fixtures/openapi/DockerResourceIdentity/invalid/missing-uid.json +5 -0
  321. package/fixtures/openapi/DockerResourceIdentity/invalid/project-without-host.json +6 -0
  322. package/fixtures/openapi/DockerResourceIdentity/invalid/wrong-kind.json +6 -0
  323. package/fixtures/openapi/DockerResourceIdentity/valid/host.json +6 -0
  324. package/fixtures/openapi/DockerResourceIdentity/valid/project.json +7 -0
  325. package/fixtures/openapi/DockerResourceIdentityEnvelope/invalid/array-data.json +10 -0
  326. package/fixtures/openapi/DockerResourceIdentityEnvelope/invalid/missing-data.json +1 -0
  327. package/fixtures/openapi/DockerResourceIdentityEnvelope/invalid/unexpected-payload.json +11 -0
  328. package/fixtures/openapi/DockerResourceIdentityEnvelope/valid/host.json +8 -0
  329. package/fixtures/openapi/DockerResourceIdentityEnvelope/valid/project.json +9 -0
  330. package/fixtures/openapi/DockerRuntimeContainerBinding/invalid/identity-bound.json +8 -0
  331. package/fixtures/openapi/DockerRuntimeContainerBinding/valid/identity-bound.json +8 -0
  332. package/fixtures/openapi/DockerRuntimeFileEntry/invalid/identity-bound.json +8 -0
  333. package/fixtures/openapi/DockerRuntimeFileEntry/valid/identity-bound.json +8 -0
  334. package/fixtures/openapi/DockerRuntimeReadEnvelope/invalid/identity-bound.json +23 -0
  335. package/fixtures/openapi/DockerRuntimeReadEnvelope/valid/identity-bound.json +23 -0
  336. package/fixtures/openapi/DockerRuntimeReadResult/invalid/identity-bound.json +21 -0
  337. package/fixtures/openapi/DockerRuntimeReadResult/valid/identity-bound.json +21 -0
  338. package/fixtures/openapi/DockerRuntimeVolume/invalid/identity-bound.json +7 -0
  339. package/fixtures/openapi/DockerRuntimeVolume/valid/identity-bound.json +7 -0
  340. package/fixtures/openapi/EnvironmentServiceReference/invalid/candidate-state.json +60 -0
  341. package/fixtures/openapi/EnvironmentServiceReference/invalid/missing-current-source-revision.json +59 -0
  342. package/fixtures/openapi/EnvironmentServiceReference/invalid/missing-identity-revision.json +59 -0
  343. package/fixtures/openapi/EnvironmentServiceReference/invalid/private-snapshot.json +61 -0
  344. package/fixtures/openapi/EnvironmentServiceReference/valid/active.json +60 -0
  345. package/fixtures/openapi/EnvironmentServiceReferenceCandidate/invalid/active.json +63 -0
  346. package/fixtures/openapi/EnvironmentServiceReferenceCandidate/invalid/raw-secret.json +66 -0
  347. package/fixtures/openapi/EnvironmentServiceReferenceCandidate/valid/generic-operator.json +63 -0
  348. package/fixtures/openapi/EnvironmentServiceReferenceCandidate/valid/helm-root.json +49 -0
  349. package/fixtures/openapi/EnvironmentServiceReferenceCandidateDeleteInput/invalid/missing-binding-cas.json +4 -0
  350. package/fixtures/openapi/EnvironmentServiceReferenceCandidateDeleteInput/invalid/missing-identity.json +4 -0
  351. package/fixtures/openapi/EnvironmentServiceReferenceCandidateDeleteInput/valid/delete-without-source.json +5 -0
  352. package/fixtures/openapi/EnvironmentServiceReferenceCandidateEnvelope/invalid/missing-revision.json +64 -0
  353. package/fixtures/openapi/EnvironmentServiceReferenceCandidateEnvelope/valid/generic-operator.json +65 -0
  354. package/fixtures/openapi/EnvironmentServiceReferenceCandidateEnvelope/valid/helm-root.json +51 -0
  355. package/fixtures/openapi/EnvironmentServiceReferenceCandidateInput/invalid/activation.json +11 -0
  356. package/fixtures/openapi/EnvironmentServiceReferenceCandidateInput/invalid/create-with-old-id.json +11 -0
  357. package/fixtures/openapi/EnvironmentServiceReferenceCandidateInput/invalid/empty-targets.json +8 -0
  358. package/fixtures/openapi/EnvironmentServiceReferenceCandidateInput/invalid/missing-digest.json +9 -0
  359. package/fixtures/openapi/EnvironmentServiceReferenceCandidateInput/invalid/missing-targets.json +7 -0
  360. package/fixtures/openapi/EnvironmentServiceReferenceCandidateInput/invalid/null-targets.json +8 -0
  361. package/fixtures/openapi/EnvironmentServiceReferenceCandidateInput/invalid/update-without-id.json +10 -0
  362. package/fixtures/openapi/EnvironmentServiceReferenceCandidateInput/valid/create.json +10 -0
  363. package/fixtures/openapi/EnvironmentServiceReferenceCandidateInput/valid/update.json +11 -0
  364. package/fixtures/openapi/EnvironmentServiceReferenceCandidatePage/invalid/source-content.json +17 -0
  365. package/fixtures/openapi/EnvironmentServiceReferenceCandidatePage/valid/page.json +13 -0
  366. package/fixtures/openapi/EnvironmentServiceReferenceCandidateSummary/invalid/source-leak.json +9 -0
  367. package/fixtures/openapi/EnvironmentServiceReferenceCandidateSummary/valid/consumer-metadata.json +8 -0
  368. package/fixtures/openapi/EnvironmentServiceReferenceConsumer/invalid/duplicate-target-ids.json +13 -0
  369. package/fixtures/openapi/EnvironmentServiceReferenceConsumer/invalid/source-content.json +38 -0
  370. package/fixtures/openapi/EnvironmentServiceReferenceConsumer/invalid/too-many-target-ids.json +112 -0
  371. package/fixtures/openapi/EnvironmentServiceReferenceConsumer/valid/visible.json +12 -0
  372. package/fixtures/openapi/EnvironmentServiceReferenceConsumerPage/invalid/hidden-count.json +19 -0
  373. package/fixtures/openapi/EnvironmentServiceReferenceConsumerPage/invalid/hidden-identities.json +21 -0
  374. package/fixtures/openapi/EnvironmentServiceReferenceConsumerPage/invalid/missing-restricted-flag.json +17 -0
  375. package/fixtures/openapi/EnvironmentServiceReferenceConsumerPage/invalid/too-many-items.json +1218 -0
  376. package/fixtures/openapi/EnvironmentServiceReferenceConsumerPage/valid/all-consumers-restricted.json +4 -0
  377. package/fixtures/openapi/EnvironmentServiceReferenceConsumerPage/valid/visible-page-with-restricted-consumers.json +18 -0
  378. package/fixtures/openapi/EnvironmentServiceReferenceDeleteInput/invalid/caller-force.json +6 -0
  379. package/fixtures/openapi/EnvironmentServiceReferenceDeleteInput/invalid/missing-consumer-cas.json +4 -0
  380. package/fixtures/openapi/EnvironmentServiceReferenceDeleteInput/invalid/missing-reference-id.json +4 -0
  381. package/fixtures/openapi/EnvironmentServiceReferenceDeleteInput/invalid/zero-reference-revision.json +5 -0
  382. package/fixtures/openapi/EnvironmentServiceReferenceDeleteInput/valid/detach-without-source-access.json +5 -0
  383. package/fixtures/openapi/EnvironmentServiceReferenceEnvelope/invalid/missing-fresh-uid.json +61 -0
  384. package/fixtures/openapi/EnvironmentServiceReferenceEnvelope/valid/active.json +62 -0
  385. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/caller-force.json +9 -0
  386. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/caller-ownership.json +9 -0
  387. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/caller-source.json +9 -0
  388. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/caller-targets.json +11 -0
  389. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/create-with-reference-id.json +9 -0
  390. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/empty-candidate-id.json +8 -0
  391. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/invalid-consumer-time.json +8 -0
  392. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/invalid-source-digest.json +8 -0
  393. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/invalid-source-time.json +8 -0
  394. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/missing-candidate-id.json +7 -0
  395. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/missing-candidate-revision.json +7 -0
  396. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/missing-consumer-cas.json +7 -0
  397. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/missing-source-cas.json +7 -0
  398. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/missing-source-digest.json +7 -0
  399. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/negative-reference-revision.json +8 -0
  400. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/oversized-candidate-id.json +8 -0
  401. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/update-without-reference-id.json +8 -0
  402. package/fixtures/openapi/EnvironmentServiceReferenceInput/invalid/zero-candidate-revision.json +8 -0
  403. package/fixtures/openapi/EnvironmentServiceReferenceInput/valid/activate.json +8 -0
  404. package/fixtures/openapi/EnvironmentServiceReferenceInput/valid/explicit-rebind.json +9 -0
  405. package/fixtures/openapi/EnvironmentServiceReferencePage/invalid/global-count.json +14 -0
  406. package/fixtures/openapi/EnvironmentServiceReferencePage/invalid/source-content.json +64 -0
  407. package/fixtures/openapi/EnvironmentServiceReferencePage/invalid/too-many-items.json +813 -0
  408. package/fixtures/openapi/EnvironmentServiceReferencePage/valid/empty.json +3 -0
  409. package/fixtures/openapi/EnvironmentServiceReferencePage/valid/page.json +13 -0
  410. package/fixtures/openapi/EnvironmentServiceReferencePreviewEnvelope/invalid/missing-uid.json +54 -0
  411. package/fixtures/openapi/EnvironmentServiceReferencePreviewEnvelope/invalid/raw-values.json +58 -0
  412. package/fixtures/openapi/EnvironmentServiceReferencePreviewEnvelope/valid/generic-operator.json +55 -0
  413. package/fixtures/openapi/EnvironmentServiceReferencePreviewEnvelope/valid/helm-root.json +41 -0
  414. package/fixtures/openapi/EnvironmentServiceReferencePreviewInput/invalid/duplicate-targets.json +10 -0
  415. package/fixtures/openapi/EnvironmentServiceReferencePreviewInput/invalid/empty-targets.json +7 -0
  416. package/fixtures/openapi/EnvironmentServiceReferencePreviewInput/invalid/invalid-revision.json +7 -0
  417. package/fixtures/openapi/EnvironmentServiceReferencePreviewInput/invalid/missing-source-cas.json +5 -0
  418. package/fixtures/openapi/EnvironmentServiceReferencePreviewInput/invalid/null-targets.json +7 -0
  419. package/fixtures/openapi/EnvironmentServiceReferencePreviewInput/invalid/unexpected-write.json +7 -0
  420. package/fixtures/openapi/EnvironmentServiceReferencePreviewInput/valid/all-source-targets.json +6 -0
  421. package/fixtures/openapi/EnvironmentServiceReferencePreviewInput/valid/explicit-group.json +11 -0
  422. package/fixtures/openapi/EnvironmentServiceReferenceResolvedTarget/invalid/missing-origin.json +40 -0
  423. package/fixtures/openapi/EnvironmentServiceReferenceResolvedTarget/invalid/missing-source-uid.json +48 -0
  424. package/fixtures/openapi/EnvironmentServiceReferenceResolvedTarget/invalid/missing-view.json +40 -0
  425. package/fixtures/openapi/EnvironmentServiceReferenceResolvedTarget/invalid/yaml-is-not-authorized.json +50 -0
  426. package/fixtures/openapi/EnvironmentServiceReferenceResolvedTarget/invalid/zero-reference-revision.json +49 -0
  427. package/fixtures/openapi/EnvironmentServiceReferenceResolvedTarget/valid/consumer-view-source-origin.json +49 -0
  428. package/fixtures/openapi/EnvironmentServiceReferenceSummary/invalid/source-leak.json +9 -0
  429. package/fixtures/openapi/EnvironmentServiceReferenceSummary/invalid/zero-reference-revision.json +8 -0
  430. package/fixtures/openapi/EnvironmentServiceReferenceSummary/valid/consumer-metadata.json +8 -0
  431. package/fixtures/openapi/ExecutionArtifactListEnvelope/invalid/legacy-list-alias.json +4 -0
  432. package/fixtures/openapi/ExecutionArtifactListEnvelope/valid/legacy-list-alias.json +4 -0
  433. package/fixtures/openapi/ExecutionLog/invalid/missing-task.json +6 -0
  434. package/fixtures/openapi/ExecutionLog/valid/nested-metadata.json +16 -0
  435. package/fixtures/openapi/ExecutionLog/valid/row.json +7 -0
  436. package/fixtures/openapi/ExecutionLogListEnvelope/invalid/wrong-wrapper.json +3 -0
  437. package/fixtures/openapi/ExecutionLogListEnvelope/valid/empty.json +3 -0
  438. package/fixtures/openapi/ExecutionTaskActionInput/invalid/reason-type.json +3 -0
  439. package/fixtures/openapi/ExecutionTaskActionInput/invalid/unknown.json +3 -0
  440. package/fixtures/openapi/ExecutionTaskActionInput/valid/empty.json +1 -0
  441. package/fixtures/openapi/ExecutionTaskActionInput/valid/reason.json +3 -0
  442. package/fixtures/openapi/ExecutionTaskControlInput/invalid/missing-action.json +3 -0
  443. package/fixtures/openapi/ExecutionTaskControlInput/invalid/reason-too-long.json +4 -0
  444. package/fixtures/openapi/ExecutionTaskControlInput/invalid/unknown-field.json +4 -0
  445. package/fixtures/openapi/ExecutionTaskControlInput/invalid/unsupported-action.json +3 -0
  446. package/fixtures/openapi/ExecutionTaskControlInput/valid/cancel.json +4 -0
  447. package/fixtures/openapi/ExecutionTaskControlInput/valid/retry.json +3 -0
  448. package/fixtures/openapi/ExecutionTaskControlInput/valid/unicode-reason.json +4 -0
  449. package/fixtures/openapi/ExecutionTaskListEnvelope/invalid/legacy-list-alias.json +4 -0
  450. package/fixtures/openapi/ExecutionTaskListEnvelope/valid/legacy-list-alias.json +4 -0
  451. package/fixtures/openapi/GovernedAITokenBinding/invalid/binding.json +5 -0
  452. package/fixtures/openapi/GovernedAITokenBinding/valid/binding.json +5 -0
  453. package/fixtures/openapi/HealingOriginalRequestEnvelope/invalid/original-request.json +19 -0
  454. package/fixtures/openapi/HealingOriginalRequestEnvelope/valid/original-request.json +18 -0
  455. package/fixtures/openapi/HealingOriginalRequestInput/invalid/original-request.json +5 -0
  456. package/fixtures/openapi/HealingOriginalRequestInput/valid/original-request.json +4 -0
  457. package/fixtures/openapi/HealingOriginalRequestReceipt/invalid/original-request.json +17 -0
  458. package/fixtures/openapi/HealingOriginalRequestReceipt/valid/original-request.json +16 -0
  459. package/fixtures/openapi/HealingOriginalRun/invalid/original-request.json +13 -0
  460. package/fixtures/openapi/HealingOriginalRun/valid/original-request.json +12 -0
  461. package/fixtures/openapi/HelmReleaseImportInput/invalid/explicit-service-id.json +4 -0
  462. package/fixtures/openapi/HelmReleaseImportInput/valid/explicit-service-id.json +4 -0
  463. package/fixtures/openapi/IdentityOutpostClaimRequest/invalid/unsupported-control.json +7 -0
  464. package/fixtures/openapi/IdentityOutpostClaimRequest/valid/control-capable.json +7 -0
  465. package/fixtures/openapi/IdentityOutpostHeartbeatRequest/invalid/control-ack.json +11 -0
  466. package/fixtures/openapi/IdentityOutpostHeartbeatRequest/valid/control-ack.json +11 -0
  467. package/fixtures/openapi/IdentityOutpostHeartbeatRequest/valid/legacy.json +6 -0
  468. package/fixtures/openapi/IdentityOutpostRuntime/invalid/runtime.json +10 -0
  469. package/fixtures/openapi/IdentityOutpostRuntime/valid/observed-zero.json +18 -0
  470. package/fixtures/openapi/IdentityOutpostRuntime/valid/runtime.json +11 -0
  471. package/fixtures/openapi/IdentityOutpostRuntimeBindingInput/invalid/runtime.json +6 -0
  472. package/fixtures/openapi/IdentityOutpostRuntimeBindingInput/valid/runtime.json +5 -0
  473. package/fixtures/openapi/IdentityOutpostRuntimeControl/invalid/runtime.json +12 -0
  474. package/fixtures/openapi/IdentityOutpostRuntimeControl/valid/runtime.json +12 -0
  475. package/fixtures/openapi/IdentityOutpostRuntimeControlInput/invalid/arbitrary-target.json +6 -0
  476. package/fixtures/openapi/IdentityOutpostRuntimeControlInput/invalid/empty-request-id.json +5 -0
  477. package/fixtures/openapi/IdentityOutpostRuntimeControlInput/invalid/negative-generation.json +6 -0
  478. package/fixtures/openapi/IdentityOutpostRuntimeControlInput/invalid/reconcile-replicas.json +6 -0
  479. package/fixtures/openapi/IdentityOutpostRuntimeControlInput/invalid/runtime.json +6 -0
  480. package/fixtures/openapi/IdentityOutpostRuntimeControlInput/valid/reconcile.json +5 -0
  481. package/fixtures/openapi/IdentityOutpostRuntimeControlInput/valid/runtime.json +6 -0
  482. package/fixtures/openapi/IdentityOutpostRuntimeExecutorClaimRequest/invalid/runtime.json +6 -0
  483. package/fixtures/openapi/IdentityOutpostRuntimeExecutorClaimRequest/valid/runtime.json +3 -0
  484. package/fixtures/openapi/KubernetesClusterRegistrationRequest/valid/metric-cluster-dedicated.json +5 -0
  485. package/fixtures/openapi/KubernetesConditionalResourceYamlInput/invalid/preconditions-v1.json +3 -0
  486. package/fixtures/openapi/KubernetesConditionalResourceYamlInput/valid/preconditions-v1.json +7 -0
  487. package/fixtures/openapi/KubernetesConditionalWorkloadActionInput/invalid/preconditions-v1.json +7 -0
  488. package/fixtures/openapi/KubernetesConditionalWorkloadActionInput/valid/preconditions-v1.json +8 -0
  489. package/fixtures/openapi/KubernetesConditionalWorkloadActionReceipt/invalid/preconditions-v1.json +14 -0
  490. package/fixtures/openapi/KubernetesConditionalWorkloadActionReceipt/valid/preconditions-v1.json +14 -0
  491. package/fixtures/openapi/KubernetesConditionalWorkloadActionReceiptEnvelope/invalid/preconditions-v1.json +16 -0
  492. package/fixtures/openapi/KubernetesConditionalWorkloadActionReceiptEnvelope/valid/preconditions-v1.json +16 -0
  493. package/fixtures/openapi/KubernetesPodArgvInput/invalid/blank-executable.json +6 -0
  494. package/fixtures/openapi/KubernetesPodArgvInput/invalid/invalid-stdin.json +7 -0
  495. package/fixtures/openapi/KubernetesPodArgvInput/invalid/native-pod-execution-v1.json +4 -0
  496. package/fixtures/openapi/KubernetesPodArgvInput/invalid/nul-argv.json +7 -0
  497. package/fixtures/openapi/KubernetesPodArgvInput/valid/native-pod-execution-v1.json +7 -0
  498. package/fixtures/openapi/KubernetesPodArgvToolInput/invalid/empty-argv.json +10 -0
  499. package/fixtures/openapi/KubernetesPodArgvToolInput/invalid/missing-key.json +16 -0
  500. package/fixtures/openapi/KubernetesPodArgvToolInput/invalid/nested-unknown.json +18 -0
  501. package/fixtures/openapi/KubernetesPodArgvToolInput/invalid/timeout.json +17 -0
  502. package/fixtures/openapi/KubernetesPodArgvToolInput/invalid/unknown-shell.json +18 -0
  503. package/fixtures/openapi/KubernetesPodArgvToolInput/invalid/wrong-namespace.json +17 -0
  504. package/fixtures/openapi/KubernetesPodArgvToolInput/valid/reviewed-argv.json +17 -0
  505. package/fixtures/openapi/KubernetesPodExecutionLookupInput/invalid/both.json +7 -0
  506. package/fixtures/openapi/KubernetesPodExecutionLookupInput/invalid/empty-key.json +6 -0
  507. package/fixtures/openapi/KubernetesPodExecutionLookupInput/invalid/neither.json +5 -0
  508. package/fixtures/openapi/KubernetesPodExecutionLookupInput/invalid/noncanonical-id.json +6 -0
  509. package/fixtures/openapi/KubernetesPodExecutionLookupInput/invalid/unknown-command.json +11 -0
  510. package/fixtures/openapi/KubernetesPodExecutionLookupInput/valid/by-id.json +6 -0
  511. package/fixtures/openapi/KubernetesPodExecutionLookupInput/valid/by-key.json +6 -0
  512. package/fixtures/openapi/KubernetesPodExecutionOutput/invalid/native-pod-execution-v1.json +15 -0
  513. package/fixtures/openapi/KubernetesPodExecutionOutput/valid/native-pod-execution-v1.json +15 -0
  514. package/fixtures/openapi/KubernetesPodExecutionReceipt/invalid/native-pod-execution-v1.json +29 -0
  515. package/fixtures/openapi/KubernetesPodExecutionReceipt/valid/native-pod-execution-v1.json +29 -0
  516. package/fixtures/openapi/KubernetesPodExecutionReceiptEnvelope/invalid/native-pod-execution-v1.json +1 -0
  517. package/fixtures/openapi/KubernetesPodExecutionReceiptEnvelope/valid/native-pod-execution-v1.json +31 -0
  518. package/fixtures/openapi/KubernetesPodExecutionTarget/invalid/native-pod-execution-v1.json +7 -0
  519. package/fixtures/openapi/KubernetesPodExecutionTarget/valid/native-pod-execution-v1.json +7 -0
  520. package/fixtures/openapi/KubernetesPodGatewayResult/invalid/encoded-output.json +32 -0
  521. package/fixtures/openapi/KubernetesPodGatewayResult/invalid/missing-text.json +17 -0
  522. package/fixtures/openapi/KubernetesPodGatewayResult/invalid/raw-receipt-availability.json +32 -0
  523. package/fixtures/openapi/KubernetesPodGatewayResult/invalid/raw-receipt-output.json +47 -0
  524. package/fixtures/openapi/KubernetesPodGatewayResult/invalid/withheld-text.json +32 -0
  525. package/fixtures/openapi/KubernetesPodGatewayResult/valid/binary-withheld.json +17 -0
  526. package/fixtures/openapi/KubernetesPodGatewayResult/valid/redacted.json +32 -0
  527. package/fixtures/openapi/KubernetesPodGatewayResult/valid/text.json +32 -0
  528. package/fixtures/openapi/KubernetesPodGatewayResult/valid/unavailable.json +17 -0
  529. package/fixtures/openapi/KubernetesPodTerminalCreated/invalid/terminal.json +21 -0
  530. package/fixtures/openapi/KubernetesPodTerminalCreated/valid/terminal.json +21 -0
  531. package/fixtures/openapi/KubernetesPodTerminalCreatedEnvelope/invalid/terminal.json +3 -0
  532. package/fixtures/openapi/KubernetesPodTerminalCreatedEnvelope/valid/terminal.json +23 -0
  533. package/fixtures/openapi/KubernetesPodTerminalInput/invalid/terminal.json +4 -0
  534. package/fixtures/openapi/KubernetesPodTerminalInput/valid/terminal.json +3 -0
  535. package/fixtures/openapi/KubernetesPodTerminalResult/invalid/terminal.json +8 -0
  536. package/fixtures/openapi/KubernetesPodTerminalResult/valid/terminal.json +8 -0
  537. package/fixtures/openapi/KubernetesPodTerminalSession/invalid/terminal.json +18 -0
  538. package/fixtures/openapi/KubernetesPodTerminalSession/valid/terminal.json +18 -0
  539. package/fixtures/openapi/KubernetesPodTerminalSessionEnvelope/invalid/terminal.json +3 -0
  540. package/fixtures/openapi/KubernetesPodTerminalSessionEnvelope/valid/terminal.json +20 -0
  541. package/fixtures/openapi/KubernetesResourceDeletionReceipt/invalid/preconditions-v1.json +11 -0
  542. package/fixtures/openapi/KubernetesResourceDeletionReceipt/valid/preconditions-v1.json +11 -0
  543. package/fixtures/openapi/KubernetesResourceDeletionReceiptEnvelope/invalid/preconditions-v1.json +5 -0
  544. package/fixtures/openapi/KubernetesResourceDeletionReceiptEnvelope/valid/preconditions-v1.json +13 -0
  545. package/fixtures/openapi/KubernetesResourceIdentity/invalid/preconditions-v1.json +11 -0
  546. package/fixtures/openapi/KubernetesResourceIdentity/valid/preconditions-v1.json +8 -0
  547. package/fixtures/openapi/KubernetesResourceIdentityEnvelope/invalid/preconditions-v1.json +3 -0
  548. package/fixtures/openapi/KubernetesResourceIdentityEnvelope/valid/preconditions-v1.json +10 -0
  549. package/fixtures/openapi/KubernetesResourceMutationPreconditions/invalid/preconditions-v1.json +3 -0
  550. package/fixtures/openapi/KubernetesResourceMutationPreconditions/valid/preconditions-v1.json +4 -0
  551. package/fixtures/openapi/KubernetesResourcePresence/invalid/absence-with-uid.json +11 -0
  552. package/fixtures/openapi/KubernetesResourcePresence/invalid/missing-collection-version.json +9 -0
  553. package/fixtures/openapi/KubernetesResourcePresence/invalid/missing-state.json +9 -0
  554. package/fixtures/openapi/KubernetesResourcePresence/invalid/old-protocol.json +10 -0
  555. package/fixtures/openapi/KubernetesResourcePresence/invalid/present-without-uid.json +10 -0
  556. package/fixtures/openapi/KubernetesResourcePresence/invalid/unknown-field.json +11 -0
  557. package/fixtures/openapi/KubernetesResourcePresence/valid/absent.json +10 -0
  558. package/fixtures/openapi/KubernetesResourcePresence/valid/present.json +12 -0
  559. package/fixtures/openapi/KubernetesWorkloadImportInput/invalid/explicit-service-id.json +5 -0
  560. package/fixtures/openapi/KubernetesWorkloadImportInput/valid/explicit-service-id.json +7 -0
  561. package/fixtures/openapi/ManifestBindingListEnvelope/invalid/legacy-object.json +4 -0
  562. package/fixtures/openapi/ManifestBindingListEnvelope/valid/empty-alias.json +4 -0
  563. package/fixtures/openapi/ManifestRevision/invalid/missing-files.json +8 -0
  564. package/fixtures/openapi/ManifestRevision/valid/minimal.json +9 -0
  565. package/fixtures/openapi/ManifestRevisionListEnvelope/invalid/legacy-object.json +4 -0
  566. package/fixtures/openapi/ManifestRevisionListEnvelope/valid/legacy-alias.json +24 -0
  567. package/fixtures/openapi/NativeTerminalClientFrame/invalid/terminal.json +12 -0
  568. package/fixtures/openapi/NativeTerminalClientFrame/valid/terminal.json +4 -0
  569. package/fixtures/openapi/NativeTerminalServerFrame/invalid/terminal.json +4 -0
  570. package/fixtures/openapi/NativeTerminalServerFrame/valid/terminal.json +11 -0
  571. package/fixtures/openapi/NetworkConflictAnalysisRequest/invalid/ipv6-range.json +9 -0
  572. package/fixtures/openapi/NetworkEAPServerTrust/invalid/peap.json +10 -0
  573. package/fixtures/openapi/NetworkEAPServerTrust/invalid/tls-inner.json +11 -0
  574. package/fixtures/openapi/NetworkEAPServerTrust/invalid/ttls-incomplete.json +10 -0
  575. package/fixtures/openapi/NetworkEAPServerTrust/valid/ttls.json +12 -0
  576. package/fixtures/openapi/NetworkMihomoProfileInput/invalid/direct-bundle-raw-source.json +21 -0
  577. package/fixtures/openapi/NetworkMihomoProfileInput/invalid/mapped-raw-source.json +21 -0
  578. package/fixtures/openapi/NetworkMihomoProfileInput/valid/direct-bundle.json +19 -0
  579. package/fixtures/openapi/NetworkMihomoProfileInput/valid/mapped-nodes.json +19 -0
  580. package/fixtures/openapi/NetworkProxyBundleInput/invalid/unknown.json +25 -0
  581. package/fixtures/openapi/NetworkProxyBundleInput/valid/basic.json +24 -0
  582. package/fixtures/openapi/NetworkProxyBundleReadback/invalid/missing-identity.json +9 -0
  583. package/fixtures/openapi/NetworkProxyBundleReadback/invalid/unknown-field.json +11 -0
  584. package/fixtures/openapi/NetworkProxyBundleReadback/valid/basic.json +10 -0
  585. package/fixtures/openapi/NetworkProxyCapability/invalid/unknown-version.json +1 -0
  586. package/fixtures/openapi/NetworkProxyCapability/valid/guarded-udp.json +1 -0
  587. package/fixtures/openapi/NetworkProxyDeployment/invalid/negative-observation.json +7 -0
  588. package/fixtures/openapi/NetworkProxyDeployment/invalid/null-observation.json +7 -0
  589. package/fixtures/openapi/NetworkProxyDeployment/valid/positive.json +7 -0
  590. package/fixtures/openapi/NetworkProxyDeployment/valid/stopped.json +7 -0
  591. package/fixtures/openapi/NetworkProxyDeployment/valid/unobserved.json +6 -0
  592. package/fixtures/openapi/NetworkProxyDeploymentControlInput/invalid/unknown.json +7 -0
  593. package/fixtures/openapi/NetworkProxyDeploymentControlInput/valid/basic.json +6 -0
  594. package/fixtures/openapi/NetworkProxyDeploymentRuntimeAck/invalid/stopped-accepting.json +15 -0
  595. package/fixtures/openapi/NetworkProxyDeploymentRuntimeAck/invalid/stopped-active.json +15 -0
  596. package/fixtures/openapi/NetworkProxyDeploymentRuntimeAck/invalid/stopped-missing-count.json +14 -0
  597. package/fixtures/openapi/NetworkProxyDeploymentRuntimeAck/invalid/stopped-unknown.json +15 -0
  598. package/fixtures/openapi/NetworkProxyDeploymentRuntimeAck/valid/false-with-active-unknown.json +15 -0
  599. package/fixtures/openapi/NetworkProxyDeploymentRuntimeAck/valid/omitted-with-active-unknown.json +14 -0
  600. package/fixtures/openapi/NetworkProxyDeploymentRuntimeAck/valid/process-stopped.json +15 -0
  601. package/fixtures/openapi/NetworkProxyDeploymentRuntimeControl/invalid/stop-while-accepting.json +13 -0
  602. package/fixtures/openapi/NetworkProxyDeploymentRuntimeControl/valid/false-can-serve.json +13 -0
  603. package/fixtures/openapi/NetworkProxyDeploymentRuntimeControl/valid/omitted-can-serve.json +12 -0
  604. package/fixtures/openapi/NetworkProxyDeploymentRuntimeControl/valid/stop-required.json +13 -0
  605. package/fixtures/openapi/NetworkProxyDirectProjection/invalid/gateway-credential.json +22 -0
  606. package/fixtures/openapi/NetworkProxyDirectProjection/invalid/original-source-url.json +20 -0
  607. package/fixtures/openapi/NetworkProxyDirectProjection/invalid/protected-projection.json +41 -0
  608. package/fixtures/openapi/NetworkProxyDirectProjection/invalid/wrong-mode.json +19 -0
  609. package/fixtures/openapi/NetworkProxyDirectProjection/valid/explicit-direct.json +19 -0
  610. package/fixtures/openapi/NetworkProxyEmployeeProjection/invalid/direct-upstream-content.json +42 -0
  611. package/fixtures/openapi/NetworkProxyEmployeeProjection/invalid/unsafe-endpoint.json +41 -0
  612. package/fixtures/openapi/NetworkProxyEmployeeProjection/invalid/upstream.json +42 -0
  613. package/fixtures/openapi/NetworkProxyEmployeeProjection/valid/scoped.json +41 -0
  614. package/fixtures/openapi/NetworkProxyIngressCheckInput/invalid/arbitrary-url.json +12 -0
  615. package/fixtures/openapi/NetworkProxyIngressCheckInput/invalid/missing-identity.json +11 -0
  616. package/fixtures/openapi/NetworkProxyIngressCheckInput/invalid/unknown-field.json +13 -0
  617. package/fixtures/openapi/NetworkProxyIngressCheckInput/valid/basic.json +12 -0
  618. package/fixtures/openapi/NetworkProxyIngressCheckResult/invalid/missing-identity.json +8 -0
  619. package/fixtures/openapi/NetworkProxyIngressCheckResult/invalid/unknown-field.json +10 -0
  620. package/fixtures/openapi/NetworkProxyIngressCheckResult/valid/basic.json +9 -0
  621. package/fixtures/openapi/NetworkProxyInstanceInput/invalid/external.json +5 -0
  622. package/fixtures/openapi/NetworkProxyInstanceInput/valid/external.json +15 -0
  623. package/fixtures/openapi/NetworkProxyRule/invalid/unknown.json +15 -0
  624. package/fixtures/openapi/NetworkProxyRule/valid/basic.json +14 -0
  625. package/fixtures/openapi/NetworkProxyRuntimeCommandInput/invalid/unknown.json +8 -0
  626. package/fixtures/openapi/NetworkProxyRuntimeCommandInput/valid/basic.json +7 -0
  627. package/fixtures/openapi/NetworkProxyServerPublication/invalid/arbitrary-listener.json +21 -0
  628. package/fixtures/openapi/NetworkProxyServerPublication/invalid/missing-identity.json +19 -0
  629. package/fixtures/openapi/NetworkProxyServerPublication/invalid/unknown-field.json +21 -0
  630. package/fixtures/openapi/NetworkProxyServerPublication/valid/basic.json +20 -0
  631. package/fixtures/openapi/NetworkProxySourceInput/invalid/node-quota.json +912 -0
  632. package/fixtures/openapi/NetworkProxySourceInput/invalid/unknown.json +8 -0
  633. package/fixtures/openapi/NetworkProxySourceInput/invalid/unsupported-format.json +7 -0
  634. package/fixtures/openapi/NetworkProxySourceInput/invalid/untyped-direct-format.json +7 -0
  635. package/fixtures/openapi/NetworkProxySourceInput/valid/basic.json +7 -0
  636. package/fixtures/openapi/NetworkProxySourceInput/valid/converted-direct.json +7 -0
  637. package/fixtures/openapi/NetworkProxyTrafficSample/invalid/known-as-null.json +10 -0
  638. package/fixtures/openapi/NetworkProxyTrafficSample/valid/gap-rate.json +10 -0
  639. package/fixtures/openapi/NetworkProxyTrafficSample/valid/known-zero.json +10 -0
  640. package/fixtures/openapi/NetworkProxyTrafficSample/valid/legacy-numeric.json +7 -0
  641. package/fixtures/openapi/NetworkProxyTrafficSample/valid/unknown-rate.json +10 -0
  642. package/fixtures/openapi/NetworkRADIUSConfigurationInput/invalid/arbitrary-image.json +6 -0
  643. package/fixtures/openapi/NetworkRADIUSConfigurationInput/valid/input.json +5 -0
  644. package/fixtures/openapi/NetworkRADIUSControlInput/invalid/arbitrary-image.json +8 -0
  645. package/fixtures/openapi/NetworkRADIUSControlInput/valid/input.json +7 -0
  646. package/fixtures/openapi/NetworkRADIUSOptions/invalid/secret.json +18 -0
  647. package/fixtures/openapi/NetworkRADIUSOptions/valid/approved.json +17 -0
  648. package/fixtures/openapi/NetworkRADIUSPoolInput/invalid/arbitrary-image.json +10 -0
  649. package/fixtures/openapi/NetworkRADIUSPoolInput/valid/create-approved-binding.json +9 -0
  650. package/fixtures/openapi/NetworkRADIUSPoolInput/valid/input.json +9 -0
  651. package/fixtures/openapi/NetworkRADIUSRuntimeACK/invalid/missing-zero.json +20 -0
  652. package/fixtures/openapi/NetworkRADIUSRuntimeACK/invalid/secret.json +22 -0
  653. package/fixtures/openapi/NetworkRADIUSRuntimeACK/valid/current.json +21 -0
  654. package/fixtures/openapi/NetworkRADIUSRuntimeACK/valid/stopped-no-hooks.json +21 -0
  655. package/fixtures/openapi/NetworkRADIUSRuntimeControl/invalid/secret.json +30 -0
  656. package/fixtures/openapi/NetworkRADIUSRuntimeControl/valid/current.json +29 -0
  657. package/fixtures/openapi/OperationCommentInput/invalid/workbench.json +4 -0
  658. package/fixtures/openapi/OperationCommentInput/valid/workbench.json +3 -0
  659. package/fixtures/openapi/PersonalAssistantArtifactListEnvelope/invalid/legacy-object.json +4 -0
  660. package/fixtures/openapi/PersonalAssistantArtifactListEnvelope/valid/legacy-alias.json +4 -0
  661. package/fixtures/openapi/ReleaseTargetInput/invalid/explicit-service-id.json +8 -0
  662. package/fixtures/openapi/ReleaseTargetInput/valid/explicit-service-id.json +8 -0
  663. package/fixtures/openapi/TokenRotationRecord/invalid/cli-boundary.json +10 -0
  664. package/fixtures/openapi/TokenRotationRecord/valid/cli-boundary.json +9 -0
  665. package/fixtures/openapi/WorkbenchAgentRunListEnvelope/valid/dsh-session.json +18 -0
  666. package/fixtures/openapi/WorkbenchSendMessageStreamRequest/invalid/unicode-request-id.json +4 -0
  667. package/fixtures/openapi/WorkbenchSendMessageStreamRequest/valid/unicode-request-id.json +4 -0
  668. package/fixtures/openapi/WorkbenchStreamEvent/valid/dsh-agent-status.json +11 -0
  669. package/fixtures/openapi/WorkbenchStreamEvent/valid/native-system-notice.json +11 -0
  670. package/fixtures/openapi/WorkflowRequestInput/invalid/original-request.json +6 -0
  671. package/fixtures/openapi/WorkflowRequestInput/valid/original-request.json +7 -0
  672. package/fixtures/openapi/WorkflowRequestReceipt/invalid/original-request.json +6 -0
  673. package/fixtures/openapi/WorkflowRequestReceipt/valid/original-request.json +6 -0
  674. package/fixtures/openapi/WorkflowRequestReceiptEnvelope/invalid/receipt.json +8 -0
  675. package/fixtures/openapi/WorkflowRequestReceiptEnvelope/valid/receipt.json +17 -0
  676. package/fixtures/openapi/WorkflowRunEnvelope/invalid/receipt.json +3 -0
  677. package/fixtures/openapi/WorkflowRunEnvelope/valid/receipt.json +11 -0
  678. package/fixtures/openapi/WorkflowTriggerRequest/invalid/workbench.json +4 -0
  679. package/fixtures/openapi/WorkflowTriggerRequest/valid/workbench.json +9 -0
  680. package/gen/go/sohaapi/client.go +108 -1
  681. package/gen/go/sohaapi/client_test.go +72 -0
  682. package/gen/go/sohaapi/docker_configuration_test.go +32 -0
  683. package/gen/go/sohaapi/memory_types_test.go +59 -0
  684. package/gen/go/sohaapi/proxy_deployment_presence_test.go +47 -0
  685. package/gen/go/sohaapi/proxy_deployment_stop_test.go +40 -0
  686. package/gen/go/sohaapi/proxy_traffic_test.go +41 -0
  687. package/gen/go/sohaapi/radius_presence_test.go +35 -0
  688. package/gen/go/sohaapi/types.go +6176 -294
  689. package/gen/go/sohaapi/types_test.go +63 -0
  690. package/gen/ts/sohaapi/index.ts +35472 -26118
  691. package/go.mod +5 -2
  692. package/go.sum +8 -0
  693. package/helmrelease/delivery.go +1 -1
  694. package/helmrelease/delivery_test.go +1 -1
  695. package/helmrelease/initialization.go +1 -1
  696. package/helmrelease/result.go +1 -1
  697. package/helmrelease/runtime/delivery.go +4 -4
  698. package/helmrelease/runtime/delivery_test.go +2 -2
  699. package/helmrelease/runtime/initialization.go +2 -2
  700. package/helmrelease/runtime/initialization_test.go +2 -2
  701. package/helmrelease/runtime/values_upgrade.go +1 -1
  702. package/helmrelease/values.go +1 -1
  703. package/memory/memory-policy.schema.json +5 -1
  704. package/memory/memory-record.schema.json +5 -1
  705. package/network/README.md +79 -0
  706. package/network/network-ingest-event.schema.json +4 -1
  707. package/network/network-runtime-protocol.schema.json +381 -20
  708. package/network/proxy-adapter.schema.json +1018 -0
  709. package/network/proxy-runtime.schema.json +1732 -16
  710. package/network/radius-password-verifier.schema.json +263 -0
  711. package/network/radius-runtime.schema.json +929 -0
  712. package/network/schema.go +12 -0
  713. package/openapi/soha-api.json +70067 -50518
  714. package/openapi/soha-api.yaml +38984 -27393
  715. package/openapi/spec_generated.go +3 -3
  716. package/package.json +19 -6
  717. package/proxyadapter/mihomo_udp.go +15 -0
  718. package/proxyadapter/mihomo_udp_test.go +21 -0
  719. package/proxyadapter/protocol.go +286 -0
  720. package/proxyadapter/protocol_test.go +76 -0
  721. package/proxypolicy/destination_test.go +48 -0
  722. package/proxypolicy/narrow.go +152 -0
  723. package/proxypolicy/narrow_test.go +138 -0
  724. package/proxypolicy/policy.go +329 -0
  725. package/proxypolicy/policy_test.go +36 -0
  726. package/proxytransport/README.md +141 -0
  727. package/proxytransport/handler.go +5 -1
  728. package/proxytransport/native_egress_test.go +236 -0
  729. package/proxytransport/probe.go +5 -1
  730. package/proxytransport/probe_test.go +106 -0
  731. package/proxytransport/refresh_test.go +74 -0
  732. package/proxytransport/scope.go +23 -3
  733. package/proxytransport/socks_upstream.go +440 -0
  734. package/proxytransport/socks_upstream_test.go +368 -0
  735. package/proxytransport/udp_conn.go +234 -0
  736. package/proxytransport/udp_gate.go +521 -0
  737. package/proxytransport/udp_http.go +372 -0
  738. package/proxytransport/udp_socks.go +288 -0
  739. package/proxytransport/udp_test.go +793 -0
  740. package/proxytransport/username.go +51 -0
  741. package/proxytransport/username_test.go +98 -0
  742. package/resource/conditional_workload_action.go +63 -0
  743. package/resource/mutation_preconditions.go +67 -0
  744. package/resource/pod_execution.go +206 -0
  745. package/resource/pod_execution_gateway.go +119 -0
  746. package/resource/pod_execution_gateway_test.go +149 -0
  747. package/resource/pod_execution_test.go +48 -0
  748. package/resource/pod_terminal.go +188 -0
  749. package/resource/pod_terminal_test.go +63 -0
  750. package/resource/presence.go +60 -0
  751. package/resource/presence_test.go +28 -0
  752. package/resource/root_cr.go +1 -1
  753. package/resource/runtime/argocd_observation.go +1 -1
  754. package/resource/runtime/conditional_workload_action.go +141 -0
  755. package/resource/runtime/conditional_workload_action_test.go +259 -0
  756. package/resource/runtime/health.go +1 -1
  757. package/resource/runtime/health_test.go +1 -1
  758. package/resource/runtime/initialization.go +1 -1
  759. package/resource/runtime/initialization_test.go +1 -1
  760. package/resource/runtime/mutation_preconditions.go +106 -0
  761. package/resource/runtime/mutation_preconditions_test.go +172 -0
  762. package/resource/runtime/network_relationship_primitives_test.go +1 -1
  763. package/resource/runtime/network_topology.go +1 -1
  764. package/resource/runtime/network_topology_builder.go +1 -1
  765. package/resource/runtime/network_topology_builder_backends.go +1 -1
  766. package/resource/runtime/network_topology_builder_ingress.go +1 -1
  767. package/resource/runtime/network_topology_builder_legacy.go +1 -1
  768. package/resource/runtime/network_topology_builder_providers.go +1 -1
  769. package/resource/runtime/network_topology_builder_test.go +1 -1
  770. package/resource/runtime/network_topology_declarations.go +1 -1
  771. package/resource/runtime/network_topology_test.go +1 -1
  772. package/resource/runtime/node_drain.go +1 -1
  773. package/resource/runtime/node_drain_test.go +1 -1
  774. package/resource/runtime/pod_execution.go +199 -0
  775. package/resource/runtime/pod_execution_test.go +194 -0
  776. package/resource/runtime/pod_execution_transport.go +79 -0
  777. package/resource/runtime/pod_terminal.go +178 -0
  778. package/resource/runtime/pod_terminal_test.go +170 -0
  779. package/resource/runtime/presence.go +58 -0
  780. package/resource/runtime/presence_metadata.go +85 -0
  781. package/resource/runtime/presence_metadata_test.go +56 -0
  782. package/resource/runtime/presence_test.go +85 -0
  783. package/resource/runtime/relations.go +1 -1
  784. package/resource/runtime/relations_test.go +1 -1
  785. package/resource/runtime/resource_graph_collect.go +1 -1
  786. package/resource/runtime/resource_graph_configuration_collect.go +1 -1
  787. package/resource/runtime/resource_graph_configuration_test.go +1 -1
  788. package/resource/runtime/resource_graph_custom_page.go +1 -1
  789. package/resource/runtime/resource_graph_custom_root.go +1 -1
  790. package/resource/runtime/resource_graph_custom_root_test.go +1 -1
  791. package/resource/runtime/resource_graph_enrichment.go +1 -1
  792. package/resource/runtime/resource_graph_enrichment_hpa_test.go +1 -1
  793. package/resource/runtime/resource_graph_enrichment_test.go +1 -1
  794. package/resource/runtime/resource_graph_network.go +1 -1
  795. package/resource/runtime/resource_graph_network_collect.go +1 -1
  796. package/resource/runtime/resource_graph_network_collect_test.go +1 -1
  797. package/resource/runtime/resource_graph_network_test.go +1 -1
  798. package/resource/runtime/resource_graph_rbac.go +1 -1
  799. package/resource/runtime/resource_graph_rbac_test.go +1 -1
  800. package/resource/runtime/resource_graph_rules.go +1 -1
  801. package/resource/runtime/resource_graph_storage.go +1 -1
  802. package/resource/runtime/resource_graph_storage_test.go +1 -1
  803. package/resource/runtime/resource_graph_test.go +1 -1
  804. package/resource/runtime/resource_monitoring.go +1 -1
  805. package/resource/runtime/rollout_integration_test.go +1 -1
  806. package/resource/runtime/rollout_observation.go +1 -1
  807. package/resource/runtime/rollout_operation.go +1 -1
  808. package/resource/runtime/rollout_task.go +2 -2
  809. package/resource/runtime/rollout_test.go +1 -1
  810. package/resource/runtime/root_cr.go +2 -2
  811. package/resource/runtime/root_cr_test.go +1 -1
  812. package/resource/runtime/secret_certificate.go +1 -1
  813. package/resource/terminal_options.go +38 -0
  814. package/resource/terminalstream/stream.go +481 -0
  815. package/resource/terminalstream/stream_test.go +277 -0
  816. package/runner/docker-container-identity.schema.json +37 -0
  817. package/runner/docker-project-identity.schema.json +39 -0
  818. package/runner/docker-runtime-read-result.schema.json +317 -0
  819. package/runner/docker-runtime-read.schema.json +85 -0
@@ -0,0 +1,1018 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://contracts.opensoha.dev/network/proxy-adapter.schema.json",
4
+ "title": "Proxy Adapter v1 frame",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "major",
9
+ "minor",
10
+ "requestId",
11
+ "deadline",
12
+ "processEpoch",
13
+ "method"
14
+ ],
15
+ "properties": {
16
+ "major": {
17
+ "const": 1
18
+ },
19
+ "minor": {
20
+ "const": 0
21
+ },
22
+ "requestId": {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 128,
26
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
27
+ },
28
+ "deadline": {
29
+ "type": "string",
30
+ "format": "date-time"
31
+ },
32
+ "processEpoch": {
33
+ "type": "string",
34
+ "minLength": 1,
35
+ "maxLength": 128,
36
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
37
+ },
38
+ "method": {
39
+ "type": "string",
40
+ "enum": [
41
+ "handshake",
42
+ "prepare",
43
+ "apply",
44
+ "observe",
45
+ "close",
46
+ "select",
47
+ "probe",
48
+ "refresh",
49
+ "logs",
50
+ "diagnostics",
51
+ "stop"
52
+ ]
53
+ },
54
+ "payload": {
55
+ "type": "object",
56
+ "additionalProperties": false,
57
+ "required": [],
58
+ "properties": {
59
+ "challenge": {
60
+ "type": "string",
61
+ "minLength": 32,
62
+ "maxLength": 128
63
+ },
64
+ "descriptor": {
65
+ "$ref": "#/$defs/EngineDescriptor"
66
+ },
67
+ "revision": {
68
+ "type": "integer",
69
+ "format": "int64",
70
+ "minimum": 0
71
+ },
72
+ "contentHash": {
73
+ "type": "string",
74
+ "pattern": "^sha256:[a-f0-9]{64}$"
75
+ },
76
+ "content": {
77
+ "type": "string",
78
+ "minLength": 1,
79
+ "maxLength": 1048576,
80
+ "writeOnly": true
81
+ },
82
+ "validUntil": {
83
+ "type": "string",
84
+ "format": "date-time"
85
+ },
86
+ "command": {
87
+ "$ref": "#/$defs/RuntimeCommandInput"
88
+ },
89
+ "connectionId": {
90
+ "type": "string",
91
+ "minLength": 1,
92
+ "maxLength": 128,
93
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
94
+ },
95
+ "issuedAt": {
96
+ "type": "string",
97
+ "format": "date-time"
98
+ },
99
+ "expiresAt": {
100
+ "type": "string",
101
+ "format": "date-time"
102
+ }
103
+ }
104
+ },
105
+ "result": {
106
+ "type": "object",
107
+ "additionalProperties": false,
108
+ "required": [],
109
+ "properties": {
110
+ "challenge": {
111
+ "type": "string",
112
+ "minLength": 32,
113
+ "maxLength": 128
114
+ },
115
+ "descriptor": {
116
+ "$ref": "#/$defs/EngineDescriptor"
117
+ },
118
+ "readbackHash": {
119
+ "type": "string",
120
+ "pattern": "^sha256:[a-f0-9]{64}$"
121
+ },
122
+ "revision": {
123
+ "type": "integer",
124
+ "format": "int64",
125
+ "minimum": 0
126
+ },
127
+ "observation": {
128
+ "$ref": "#/$defs/AdapterObservation"
129
+ },
130
+ "command": {
131
+ "$ref": "#/$defs/RuntimeCommandResult"
132
+ },
133
+ "closeStatus": {
134
+ "enum": [
135
+ "closed",
136
+ "not-found",
137
+ "failed"
138
+ ]
139
+ }
140
+ }
141
+ },
142
+ "error": {
143
+ "type": "object",
144
+ "additionalProperties": false,
145
+ "required": [
146
+ "code",
147
+ "message"
148
+ ],
149
+ "properties": {
150
+ "code": {
151
+ "type": "string",
152
+ "enum": [
153
+ "unsupported",
154
+ "unavailable",
155
+ "invalid_request",
156
+ "expired",
157
+ "epoch_mismatch",
158
+ "incompatible_version",
159
+ "failed"
160
+ ]
161
+ },
162
+ "message": {
163
+ "type": "string",
164
+ "minLength": 1,
165
+ "maxLength": 512
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "oneOf": [
171
+ {
172
+ "required": [
173
+ "payload"
174
+ ],
175
+ "not": {
176
+ "anyOf": [
177
+ {
178
+ "required": [
179
+ "result"
180
+ ]
181
+ },
182
+ {
183
+ "required": [
184
+ "error"
185
+ ]
186
+ }
187
+ ]
188
+ }
189
+ },
190
+ {
191
+ "required": [
192
+ "result"
193
+ ],
194
+ "not": {
195
+ "anyOf": [
196
+ {
197
+ "required": [
198
+ "payload"
199
+ ]
200
+ },
201
+ {
202
+ "required": [
203
+ "error"
204
+ ]
205
+ }
206
+ ]
207
+ }
208
+ },
209
+ {
210
+ "required": [
211
+ "error"
212
+ ],
213
+ "not": {
214
+ "anyOf": [
215
+ {
216
+ "required": [
217
+ "result"
218
+ ]
219
+ },
220
+ {
221
+ "required": [
222
+ "payload"
223
+ ]
224
+ }
225
+ ]
226
+ }
227
+ }
228
+ ],
229
+ "allOf": [
230
+ {
231
+ "if": {
232
+ "properties": {
233
+ "method": {
234
+ "const": "handshake"
235
+ }
236
+ },
237
+ "required": [
238
+ "payload"
239
+ ]
240
+ },
241
+ "then": {
242
+ "properties": {
243
+ "payload": {
244
+ "required": [
245
+ "challenge"
246
+ ]
247
+ }
248
+ }
249
+ }
250
+ },
251
+ {
252
+ "if": {
253
+ "properties": {
254
+ "method": {
255
+ "enum": [
256
+ "prepare",
257
+ "apply"
258
+ ]
259
+ }
260
+ },
261
+ "required": [
262
+ "payload"
263
+ ]
264
+ },
265
+ "then": {
266
+ "properties": {
267
+ "payload": {
268
+ "required": [
269
+ "revision",
270
+ "contentHash",
271
+ "content",
272
+ "validUntil"
273
+ ]
274
+ }
275
+ }
276
+ }
277
+ },
278
+ {
279
+ "if": {
280
+ "properties": {
281
+ "method": {
282
+ "const": "close"
283
+ }
284
+ },
285
+ "required": [
286
+ "payload"
287
+ ]
288
+ },
289
+ "then": {
290
+ "properties": {
291
+ "payload": {
292
+ "required": [
293
+ "connectionId",
294
+ "issuedAt",
295
+ "expiresAt"
296
+ ]
297
+ }
298
+ }
299
+ }
300
+ },
301
+ {
302
+ "if": {
303
+ "properties": {
304
+ "method": {
305
+ "const": "handshake"
306
+ }
307
+ },
308
+ "required": [
309
+ "result"
310
+ ]
311
+ },
312
+ "then": {
313
+ "properties": {
314
+ "result": {
315
+ "required": [
316
+ "challenge",
317
+ "descriptor"
318
+ ]
319
+ }
320
+ }
321
+ }
322
+ },
323
+ {
324
+ "if": {
325
+ "properties": {
326
+ "method": {
327
+ "const": "apply"
328
+ }
329
+ },
330
+ "required": [
331
+ "result"
332
+ ]
333
+ },
334
+ "then": {
335
+ "properties": {
336
+ "result": {
337
+ "required": [
338
+ "revision",
339
+ "readbackHash"
340
+ ],
341
+ "properties": {
342
+ "revision": {
343
+ "minimum": 1
344
+ }
345
+ }
346
+ }
347
+ }
348
+ }
349
+ },
350
+ {
351
+ "if": {
352
+ "properties": {
353
+ "method": {
354
+ "const": "observe"
355
+ }
356
+ },
357
+ "required": [
358
+ "result"
359
+ ]
360
+ },
361
+ "then": {
362
+ "properties": {
363
+ "result": {
364
+ "required": [
365
+ "observation"
366
+ ]
367
+ }
368
+ }
369
+ }
370
+ },
371
+ {
372
+ "if": {
373
+ "properties": {
374
+ "method": {
375
+ "const": "close"
376
+ }
377
+ },
378
+ "required": [
379
+ "result"
380
+ ]
381
+ },
382
+ "then": {
383
+ "properties": {
384
+ "result": {
385
+ "required": [
386
+ "closeStatus"
387
+ ]
388
+ }
389
+ }
390
+ }
391
+ }
392
+ ],
393
+ "$defs": {
394
+ "EngineDescriptor": {
395
+ "type": "object",
396
+ "additionalProperties": false,
397
+ "required": [
398
+ "engineId",
399
+ "adapterId",
400
+ "version",
401
+ "protocolMajor",
402
+ "protocolMinor",
403
+ "capabilities"
404
+ ],
405
+ "properties": {
406
+ "engineId": {
407
+ "type": "string",
408
+ "minLength": 1,
409
+ "maxLength": 64,
410
+ "pattern": "^[a-z][a-z0-9.-]*$"
411
+ },
412
+ "adapterId": {
413
+ "type": "string",
414
+ "minLength": 1,
415
+ "maxLength": 64,
416
+ "pattern": "^[a-z][a-z0-9.-]*$"
417
+ },
418
+ "version": {
419
+ "type": "string",
420
+ "minLength": 1,
421
+ "maxLength": 64
422
+ },
423
+ "protocolMajor": {
424
+ "type": "integer",
425
+ "enum": [
426
+ 1
427
+ ]
428
+ },
429
+ "protocolMinor": {
430
+ "type": "integer",
431
+ "enum": [
432
+ 0
433
+ ]
434
+ },
435
+ "capabilities": {
436
+ "type": "array",
437
+ "maxItems": 64,
438
+ "items": {
439
+ "type": "string",
440
+ "minLength": 1,
441
+ "maxLength": 64
442
+ }
443
+ }
444
+ }
445
+ },
446
+ "Group": {
447
+ "type": "object",
448
+ "additionalProperties": false,
449
+ "required": [
450
+ "groupId",
451
+ "label",
452
+ "type",
453
+ "nodeIds"
454
+ ],
455
+ "properties": {
456
+ "groupId": {
457
+ "type": "string",
458
+ "minLength": 1,
459
+ "maxLength": 128,
460
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
461
+ },
462
+ "label": {
463
+ "type": "string",
464
+ "minLength": 1,
465
+ "maxLength": 128
466
+ },
467
+ "type": {
468
+ "type": "string",
469
+ "enum": [
470
+ "select",
471
+ "url_test",
472
+ "fallback",
473
+ "load_balance"
474
+ ]
475
+ },
476
+ "nodeIds": {
477
+ "type": "array",
478
+ "maxItems": 128,
479
+ "items": {
480
+ "type": "string",
481
+ "minLength": 1,
482
+ "maxLength": 128,
483
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
484
+ }
485
+ },
486
+ "selectedNodeId": {
487
+ "type": "string",
488
+ "minLength": 1,
489
+ "maxLength": 128,
490
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
491
+ }
492
+ }
493
+ },
494
+ "RuleMatcher": {
495
+ "type": "object",
496
+ "additionalProperties": false,
497
+ "required": [
498
+ "type"
499
+ ],
500
+ "properties": {
501
+ "type": {
502
+ "type": "string",
503
+ "enum": [
504
+ "domain",
505
+ "domain_suffix",
506
+ "cidr",
507
+ "process_name",
508
+ "process_path",
509
+ "all"
510
+ ]
511
+ },
512
+ "value": {
513
+ "type": "string",
514
+ "minLength": 1,
515
+ "maxLength": 1024
516
+ }
517
+ },
518
+ "description": "domain is case insensitive exact; domain_suffix matches label boundaries; cidr canonical netip prefix; process matching is local only, never trusted server-mandatory input. all has no value.",
519
+ "oneOf": [
520
+ {
521
+ "properties": {
522
+ "type": {
523
+ "enum": [
524
+ "all"
525
+ ]
526
+ }
527
+ },
528
+ "not": {
529
+ "required": [
530
+ "value"
531
+ ]
532
+ }
533
+ },
534
+ {
535
+ "properties": {
536
+ "type": {
537
+ "enum": [
538
+ "domain",
539
+ "domain_suffix",
540
+ "cidr",
541
+ "process_name",
542
+ "process_path"
543
+ ]
544
+ }
545
+ },
546
+ "required": [
547
+ "value"
548
+ ]
549
+ }
550
+ ]
551
+ },
552
+ "RuleAction": {
553
+ "type": "object",
554
+ "additionalProperties": false,
555
+ "required": [
556
+ "type"
557
+ ],
558
+ "properties": {
559
+ "type": {
560
+ "type": "string",
561
+ "enum": [
562
+ "reject",
563
+ "direct",
564
+ "node",
565
+ "group"
566
+ ]
567
+ },
568
+ "targetId": {
569
+ "type": "string",
570
+ "minLength": 1,
571
+ "maxLength": 128,
572
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
573
+ }
574
+ },
575
+ "description": "node/group require a logical targetId; reject/direct forbid targetId. ProtectedSet reject always wins.",
576
+ "oneOf": [
577
+ {
578
+ "properties": {
579
+ "type": {
580
+ "enum": [
581
+ "reject",
582
+ "direct"
583
+ ]
584
+ }
585
+ },
586
+ "not": {
587
+ "required": [
588
+ "targetId"
589
+ ]
590
+ }
591
+ },
592
+ {
593
+ "properties": {
594
+ "type": {
595
+ "enum": [
596
+ "node",
597
+ "group"
598
+ ]
599
+ }
600
+ },
601
+ "required": [
602
+ "targetId"
603
+ ]
604
+ }
605
+ ]
606
+ },
607
+ "Rule": {
608
+ "type": "object",
609
+ "additionalProperties": false,
610
+ "required": [
611
+ "ruleId",
612
+ "source",
613
+ "order",
614
+ "enabled",
615
+ "matcher",
616
+ "action"
617
+ ],
618
+ "properties": {
619
+ "ruleId": {
620
+ "type": "string",
621
+ "minLength": 1,
622
+ "maxLength": 128,
623
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
624
+ },
625
+ "source": {
626
+ "type": "string",
627
+ "enum": [
628
+ "protection",
629
+ "organization_required",
630
+ "personal",
631
+ "organization_default",
632
+ "fallback"
633
+ ]
634
+ },
635
+ "order": {
636
+ "type": "integer",
637
+ "format": "int64",
638
+ "minimum": 0
639
+ },
640
+ "enabled": {
641
+ "type": "boolean"
642
+ },
643
+ "matcher": {
644
+ "$ref": "#/$defs/RuleMatcher"
645
+ },
646
+ "action": {
647
+ "$ref": "#/$defs/RuleAction"
648
+ }
649
+ }
650
+ },
651
+ "RuntimeCommandKind": {
652
+ "type": "string",
653
+ "enum": [
654
+ "groups",
655
+ "select",
656
+ "probe",
657
+ "refresh",
658
+ "rules",
659
+ "dns",
660
+ "logs",
661
+ "diagnostics"
662
+ ]
663
+ },
664
+ "RuntimeCommandInput": {
665
+ "type": "object",
666
+ "additionalProperties": false,
667
+ "required": [
668
+ "requestId",
669
+ "processEpoch",
670
+ "kind",
671
+ "issuedAt",
672
+ "expiresAt"
673
+ ],
674
+ "properties": {
675
+ "requestId": {
676
+ "type": "string",
677
+ "minLength": 1,
678
+ "maxLength": 128,
679
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
680
+ },
681
+ "processEpoch": {
682
+ "type": "string",
683
+ "minLength": 1,
684
+ "maxLength": 128,
685
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
686
+ },
687
+ "kind": {
688
+ "$ref": "#/$defs/RuntimeCommandKind"
689
+ },
690
+ "issuedAt": {
691
+ "type": "string",
692
+ "format": "date-time"
693
+ },
694
+ "expiresAt": {
695
+ "type": "string",
696
+ "format": "date-time"
697
+ },
698
+ "groupId": {
699
+ "type": "string",
700
+ "minLength": 1,
701
+ "maxLength": 128,
702
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
703
+ },
704
+ "nodeId": {
705
+ "type": "string",
706
+ "minLength": 1,
707
+ "maxLength": 128,
708
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
709
+ },
710
+ "probeProfileId": {
711
+ "type": "string",
712
+ "minLength": 1,
713
+ "maxLength": 128,
714
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
715
+ },
716
+ "sourceId": {
717
+ "type": "string",
718
+ "minLength": 1,
719
+ "maxLength": 128,
720
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
721
+ },
722
+ "limit": {
723
+ "type": "integer",
724
+ "minimum": 1,
725
+ "maximum": 200
726
+ },
727
+ "cursor": {
728
+ "type": "string",
729
+ "minLength": 1,
730
+ "maxLength": 256
731
+ }
732
+ },
733
+ "description": "Single typed bounded operation. Select requires groupId/nodeId; probe requires registered probeProfileId, never arbitrary URL. No controller path/body/shell. Expiry <=30 seconds; epoch must match.",
734
+ "allOf": [
735
+ {
736
+ "if": {
737
+ "properties": {
738
+ "kind": {
739
+ "const": "select"
740
+ }
741
+ }
742
+ },
743
+ "then": {
744
+ "required": [
745
+ "groupId",
746
+ "nodeId"
747
+ ]
748
+ }
749
+ },
750
+ {
751
+ "if": {
752
+ "properties": {
753
+ "kind": {
754
+ "const": "probe"
755
+ }
756
+ }
757
+ },
758
+ "then": {
759
+ "required": [
760
+ "probeProfileId"
761
+ ]
762
+ }
763
+ }
764
+ ]
765
+ },
766
+ "RuntimeCommandResult": {
767
+ "type": "object",
768
+ "additionalProperties": false,
769
+ "required": [],
770
+ "properties": {
771
+ "groups": {
772
+ "type": "array",
773
+ "maxItems": 2048,
774
+ "items": {
775
+ "$ref": "#/$defs/Group"
776
+ }
777
+ },
778
+ "rules": {
779
+ "type": "array",
780
+ "maxItems": 2048,
781
+ "items": {
782
+ "$ref": "#/$defs/Rule"
783
+ }
784
+ },
785
+ "dns": {
786
+ "type": "array",
787
+ "maxItems": 200,
788
+ "items": {
789
+ "type": "object",
790
+ "additionalProperties": false,
791
+ "required": [
792
+ "name",
793
+ "addresses",
794
+ "expiresAt"
795
+ ],
796
+ "properties": {
797
+ "name": {
798
+ "type": "string",
799
+ "minLength": 1,
800
+ "maxLength": 253
801
+ },
802
+ "addresses": {
803
+ "type": "array",
804
+ "maxItems": 32,
805
+ "items": {
806
+ "type": "string",
807
+ "minLength": 1,
808
+ "maxLength": 64
809
+ }
810
+ },
811
+ "expiresAt": {
812
+ "type": "string",
813
+ "format": "date-time"
814
+ }
815
+ }
816
+ }
817
+ },
818
+ "logs": {
819
+ "type": "array",
820
+ "maxItems": 200,
821
+ "items": {
822
+ "type": "object",
823
+ "additionalProperties": false,
824
+ "required": [
825
+ "sequence",
826
+ "level",
827
+ "message",
828
+ "occurredAt"
829
+ ],
830
+ "properties": {
831
+ "sequence": {
832
+ "type": "integer",
833
+ "format": "int64",
834
+ "minimum": 0
835
+ },
836
+ "level": {
837
+ "type": "string",
838
+ "enum": [
839
+ "debug",
840
+ "info",
841
+ "warn",
842
+ "error"
843
+ ]
844
+ },
845
+ "message": {
846
+ "type": "string",
847
+ "minLength": 1,
848
+ "maxLength": 1024
849
+ },
850
+ "occurredAt": {
851
+ "type": "string",
852
+ "format": "date-time"
853
+ }
854
+ }
855
+ }
856
+ },
857
+ "latencyMilliseconds": {
858
+ "type": "number",
859
+ "minimum": 0
860
+ },
861
+ "selectedNodeId": {
862
+ "type": "string",
863
+ "minLength": 1,
864
+ "maxLength": 128,
865
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
866
+ },
867
+ "diagnostics": {
868
+ "type": "array",
869
+ "maxItems": 100,
870
+ "items": {
871
+ "type": "object",
872
+ "additionalProperties": false,
873
+ "required": [
874
+ "code",
875
+ "state",
876
+ "message"
877
+ ],
878
+ "properties": {
879
+ "code": {
880
+ "type": "string",
881
+ "minLength": 1,
882
+ "maxLength": 128
883
+ },
884
+ "state": {
885
+ "type": "string",
886
+ "enum": [
887
+ "available",
888
+ "unsupported",
889
+ "unavailable"
890
+ ]
891
+ },
892
+ "message": {
893
+ "type": "string",
894
+ "minLength": 1,
895
+ "maxLength": 512
896
+ }
897
+ }
898
+ }
899
+ }
900
+ },
901
+ "description": "Bounded sanitized results; no raw kernel config/controller dumps or upstream secrets."
902
+ },
903
+ "Connection": {
904
+ "type": "object",
905
+ "required": [
906
+ "id",
907
+ "destination",
908
+ "network",
909
+ "uploadBytes",
910
+ "downloadBytes"
911
+ ],
912
+ "properties": {
913
+ "id": {
914
+ "type": "string",
915
+ "minLength": 1,
916
+ "maxLength": 128
917
+ },
918
+ "destination": {
919
+ "type": "string",
920
+ "minLength": 1,
921
+ "maxLength": 253
922
+ },
923
+ "network": {
924
+ "type": "string",
925
+ "enum": [
926
+ "tcp",
927
+ "udp",
928
+ "other"
929
+ ],
930
+ "x-enum-varnames": [
931
+ "NetworkProxyConnectionNetworkTCP",
932
+ "NetworkProxyConnectionNetworkUDP",
933
+ "NetworkProxyConnectionNetworkOther"
934
+ ]
935
+ },
936
+ "uploadBytes": {
937
+ "type": "integer",
938
+ "format": "int64",
939
+ "minimum": 0
940
+ },
941
+ "downloadBytes": {
942
+ "type": "integer",
943
+ "format": "int64",
944
+ "minimum": 0
945
+ },
946
+ "startedAt": {
947
+ "type": "string",
948
+ "format": "date-time"
949
+ },
950
+ "processEpoch": {
951
+ "type": "string",
952
+ "minLength": 1,
953
+ "maxLength": 128,
954
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
955
+ }
956
+ },
957
+ "additionalProperties": false
958
+ },
959
+ "AdapterObservation": {
960
+ "type": "object",
961
+ "additionalProperties": false,
962
+ "properties": {
963
+ "sampleSequence": {
964
+ "type": "integer",
965
+ "format": "int64",
966
+ "minimum": 0
967
+ },
968
+ "uploadTotal": {
969
+ "type": "integer",
970
+ "format": "int64",
971
+ "minimum": 0
972
+ },
973
+ "downloadTotal": {
974
+ "type": "integer",
975
+ "format": "int64",
976
+ "minimum": 0
977
+ },
978
+ "totalActive": {
979
+ "type": "integer",
980
+ "format": "int64",
981
+ "minimum": 0
982
+ },
983
+ "returnedCount": {
984
+ "type": "integer",
985
+ "format": "int64",
986
+ "minimum": 0
987
+ },
988
+ "truncated": {
989
+ "type": "boolean"
990
+ },
991
+ "freshness": {
992
+ "enum": [
993
+ "fresh",
994
+ "stale",
995
+ "unavailable"
996
+ ]
997
+ },
998
+ "connections": {
999
+ "type": "array",
1000
+ "maxItems": 200,
1001
+ "items": {
1002
+ "$ref": "#/$defs/Connection"
1003
+ }
1004
+ }
1005
+ },
1006
+ "required": [
1007
+ "sampleSequence",
1008
+ "uploadTotal",
1009
+ "downloadTotal",
1010
+ "totalActive",
1011
+ "returnedCount",
1012
+ "truncated",
1013
+ "freshness",
1014
+ "connections"
1015
+ ]
1016
+ }
1017
+ }
1018
+ }