@opensoha/contracts 0.1.22 → 0.1.24

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 (361) hide show
  1. package/COMPATIBILITY.md +95 -0
  2. package/README.md +24 -6
  3. package/agent/environment/README.md +55 -0
  4. package/agent/environment/export.go +139 -0
  5. package/agent/environment/export_test.go +62 -0
  6. package/agent/environment/preflight.go +62 -0
  7. package/agent/environment/preflight_test.go +41 -0
  8. package/agent/environment/protocol.go +221 -0
  9. package/agent/environment/protocol_test.go +81 -0
  10. package/agent/environment-lease.schema.json +2 -2
  11. package/agent/environment-template.schema.json +1 -1
  12. package/agent/guest/browser_network.go +77 -0
  13. package/agent/guest/data.go +62 -0
  14. package/agent/guest/protocol.go +235 -0
  15. package/agent/guest/protocol_test.go +142 -0
  16. package/agent/guest/renewal.go +56 -0
  17. package/agent/guest/renewal_test.go +53 -0
  18. package/agent/guest/runtime.go +315 -0
  19. package/agent/guest/runtime_json.go +75 -0
  20. package/agent/guest/runtime_test.go +110 -0
  21. package/agent/personal-browser-network-request.schema.json +40 -0
  22. package/agent/personal-browser-network-response.schema.json +44 -0
  23. package/agent/personal-environment-export.schema.json +55 -0
  24. package/agent/personal-environment-preflight-request.schema.json +52 -0
  25. package/agent/personal-environment-preflight-result.schema.json +69 -0
  26. package/agent/personal-environment-request.schema.json +137 -0
  27. package/agent/personal-environment-result.schema.json +101 -0
  28. package/agent/personal-guest-binding.schema.json +92 -0
  29. package/agent/personal-guest-data-plan.schema.json +32 -0
  30. package/agent/personal-guest-enrollment.schema.json +21 -0
  31. package/agent/personal-guest-heartbeat.schema.json +44 -0
  32. package/agent/personal-guest-provisioning.schema.json +71 -0
  33. package/agent/personal-guest-renewal.schema.json +33 -0
  34. package/agent/personal-guest-runtime-result.schema.json +164 -0
  35. package/agent/personal-guest-runtime.schema.json +304 -0
  36. package/agent/personal-guest-tools.schema.json +75 -0
  37. package/auth/catalog_generated.go +2 -2
  38. package/auth/permission-catalog.json +32 -1
  39. package/auth/token-claims.schema.json +5 -0
  40. package/compat/consumer-revisions.json +4 -3
  41. package/compat/json-schema-ecosystem-0.1.0.json +1 -1
  42. package/compat/openapi-loose-boundaries-0.1.0.json +1 -1
  43. package/connectors/connector-action.schema.json +138 -0
  44. package/fixtures/json-schema/connector-action/invalid/empty-values.json +11 -0
  45. package/fixtures/json-schema/connector-action/invalid/invalid-expiry.json +16 -0
  46. package/fixtures/json-schema/connector-action/invalid/lowercase-alias.json +16 -0
  47. package/fixtures/json-schema/connector-action/invalid/unknown-entry-field.json +17 -0
  48. package/fixtures/json-schema/connector-action/invalid/unknown-frame-field.json +17 -0
  49. package/fixtures/json-schema/connector-action/invalid/unknown-version.json +16 -0
  50. package/fixtures/json-schema/connector-action/invalid/unversioned-reference.json +16 -0
  51. package/fixtures/json-schema/connector-action/invalid/zero-version.json +16 -0
  52. package/fixtures/json-schema/connector-action/valid/pinned.json +16 -0
  53. package/fixtures/json-schema/connector-definition/invalid/credential-userinfo.json +8 -0
  54. package/fixtures/json-schema/connector-definition/invalid/reference-traversal.json +8 -0
  55. package/fixtures/json-schema/connector-definition/invalid/zero-version.json +8 -0
  56. package/fixtures/json-schema/connector-definition/valid/canonical.json +8 -0
  57. package/fixtures/json-schema/connector-definition/valid/pinned.json +8 -0
  58. package/fixtures/json-schema/personal-browser-network-request/invalid/bounded.json +4 -0
  59. package/fixtures/json-schema/personal-browser-network-request/valid/bounded.json +4 -0
  60. package/fixtures/json-schema/personal-browser-network-response/invalid/bounded.json +5 -0
  61. package/fixtures/json-schema/personal-browser-network-response/valid/bounded.json +5 -0
  62. package/fixtures/json-schema/personal-environment-export/invalid/extra.json +11 -0
  63. package/fixtures/json-schema/personal-environment-export/invalid/ownerId.json +10 -0
  64. package/fixtures/json-schema/personal-environment-export/invalid/sha256.json +10 -0
  65. package/fixtures/json-schema/personal-environment-export/invalid/sizeBytes.json +10 -0
  66. package/fixtures/json-schema/personal-environment-export/valid/complete.json +10 -0
  67. package/fixtures/json-schema/personal-environment-preflight-request/invalid/disk.json +11 -0
  68. package/fixtures/json-schema/personal-environment-preflight-request/invalid/network.json +11 -0
  69. package/fixtures/json-schema/personal-environment-preflight-request/invalid/node.json +12 -0
  70. package/fixtures/json-schema/personal-environment-preflight-request/invalid/owner.json +12 -0
  71. package/fixtures/json-schema/personal-environment-preflight-request/valid/bounded.json +11 -0
  72. package/fixtures/json-schema/personal-environment-preflight-result/invalid/disk.json +15 -0
  73. package/fixtures/json-schema/personal-environment-preflight-result/invalid/network.json +15 -0
  74. package/fixtures/json-schema/personal-environment-preflight-result/invalid/no-hard-quota.json +15 -0
  75. package/fixtures/json-schema/personal-environment-preflight-result/invalid/node.json +16 -0
  76. package/fixtures/json-schema/personal-environment-preflight-result/invalid/not-ready.json +15 -0
  77. package/fixtures/json-schema/personal-environment-preflight-result/invalid/owner.json +16 -0
  78. package/fixtures/json-schema/personal-environment-preflight-result/valid/bounded.json +15 -0
  79. package/fixtures/json-schema/personal-environment-request/invalid/delete-data-argv.json +24 -0
  80. package/fixtures/json-schema/personal-environment-request/invalid/delete-data-createData.json +22 -0
  81. package/fixtures/json-schema/personal-environment-request/invalid/delete-data-taskId.json +22 -0
  82. package/fixtures/json-schema/personal-environment-request/invalid/export-argv.json +22 -0
  83. package/fixtures/json-schema/personal-environment-request/invalid/export-createData.json +22 -0
  84. package/fixtures/json-schema/personal-environment-request/invalid/export-taskId.json +22 -0
  85. package/fixtures/json-schema/personal-environment-request/invalid/extra-command.json +24 -0
  86. package/fixtures/json-schema/personal-environment-request/invalid/host-workspace.json +22 -0
  87. package/fixtures/json-schema/personal-environment-request/invalid/image-injection.json +22 -0
  88. package/fixtures/json-schema/personal-environment-request/invalid/network-egress.json +21 -0
  89. package/fixtures/json-schema/personal-environment-request/invalid/no-command.json +21 -0
  90. package/fixtures/json-schema/personal-environment-request/invalid/recreate-on-release.json +22 -0
  91. package/fixtures/json-schema/personal-environment-request/invalid/relative-command.json +24 -0
  92. package/fixtures/json-schema/personal-environment-request/invalid/released-identity.json +22 -0
  93. package/fixtures/json-schema/personal-environment-request/invalid/task-empty.json +27 -0
  94. package/fixtures/json-schema/personal-environment-request/invalid/task-host-path.json +27 -0
  95. package/fixtures/json-schema/personal-environment-request/invalid/task-noncanonical.json +27 -0
  96. package/fixtures/json-schema/personal-environment-request/invalid/task-null.json +27 -0
  97. package/fixtures/json-schema/personal-environment-request/invalid/task-on-inspection.json +22 -0
  98. package/fixtures/json-schema/personal-environment-request/invalid/unbounded-quota.json +21 -0
  99. package/fixtures/json-schema/personal-environment-request/valid/acquire.json +21 -0
  100. package/fixtures/json-schema/personal-environment-request/valid/delete-data.json +21 -0
  101. package/fixtures/json-schema/personal-environment-request/valid/execute.json +26 -0
  102. package/fixtures/json-schema/personal-environment-request/valid/export-data.json +21 -0
  103. package/fixtures/json-schema/personal-environment-request/valid/inspect.json +21 -0
  104. package/fixtures/json-schema/personal-environment-request/valid/provision.json +22 -0
  105. package/fixtures/json-schema/personal-environment-request/valid/release.json +21 -0
  106. package/fixtures/json-schema/personal-environment-request/valid/task-workspace.json +27 -0
  107. package/fixtures/json-schema/personal-environment-result/invalid/active-without-observation.json +7 -0
  108. package/fixtures/json-schema/personal-environment-result/invalid/deleted-output.json +8 -0
  109. package/fixtures/json-schema/personal-environment-result/invalid/deleted-snapshot.json +8 -0
  110. package/fixtures/json-schema/personal-environment-result/invalid/deleted-taskId.json +8 -0
  111. package/fixtures/json-schema/personal-environment-result/invalid/private-handle.json +8 -0
  112. package/fixtures/json-schema/personal-environment-result/invalid/stopped-fake-observation.json +20 -0
  113. package/fixtures/json-schema/personal-environment-result/invalid/task-empty.json +22 -0
  114. package/fixtures/json-schema/personal-environment-result/invalid/task-host-path.json +22 -0
  115. package/fixtures/json-schema/personal-environment-result/invalid/task-null.json +22 -0
  116. package/fixtures/json-schema/personal-environment-result/invalid/task-on-stopped.json +8 -0
  117. package/fixtures/json-schema/personal-environment-result/invalid/task-without-command-output.json +21 -0
  118. package/fixtures/json-schema/personal-environment-result/valid/active.json +21 -0
  119. package/fixtures/json-schema/personal-environment-result/valid/deleted.json +7 -0
  120. package/fixtures/json-schema/personal-environment-result/valid/expired.json +7 -0
  121. package/fixtures/json-schema/personal-environment-result/valid/missing.json +7 -0
  122. package/fixtures/json-schema/personal-environment-result/valid/released.json +7 -0
  123. package/fixtures/json-schema/personal-environment-result/valid/task-workspace.json +22 -0
  124. package/fixtures/json-schema/personal-guest-binding/invalid/host-path.json +17 -0
  125. package/fixtures/json-schema/personal-guest-binding/invalid/invalid-policy.json +17 -0
  126. package/fixtures/json-schema/personal-guest-binding/invalid/invalid-serial.json +17 -0
  127. package/fixtures/json-schema/personal-guest-binding/invalid/legacy-version.json +17 -0
  128. package/fixtures/json-schema/personal-guest-binding/invalid/missing-generation.json +17 -0
  129. package/fixtures/json-schema/personal-guest-binding/invalid/missing-identity.json +16 -0
  130. package/fixtures/json-schema/personal-guest-binding/invalid/missing-provider-identity.json +16 -0
  131. package/fixtures/json-schema/personal-guest-binding/invalid/raw-provider-identity.json +17 -0
  132. package/fixtures/json-schema/personal-guest-binding/valid/minimal.json +17 -0
  133. package/fixtures/json-schema/personal-guest-data-plan/invalid/quota.json +1 -0
  134. package/fixtures/json-schema/personal-guest-data-plan/valid/basic.json +1 -0
  135. package/fixtures/json-schema/personal-guest-enrollment/invalid/capabilities.json +7 -0
  136. package/fixtures/json-schema/personal-guest-enrollment/invalid/legacy-version.json +4 -0
  137. package/fixtures/json-schema/personal-guest-enrollment/invalid/missing-identity.json +3 -0
  138. package/fixtures/json-schema/personal-guest-enrollment/invalid/ownerId.json +5 -0
  139. package/fixtures/json-schema/personal-guest-enrollment/invalid/token.json +5 -0
  140. package/fixtures/json-schema/personal-guest-enrollment/valid/minimal.json +4 -0
  141. package/fixtures/json-schema/personal-guest-heartbeat/invalid/argv.json +11 -0
  142. package/fixtures/json-schema/personal-guest-heartbeat/invalid/legacy-version.json +8 -0
  143. package/fixtures/json-schema/personal-guest-heartbeat/invalid/missing-identity.json +7 -0
  144. package/fixtures/json-schema/personal-guest-heartbeat/invalid/owner.json +9 -0
  145. package/fixtures/json-schema/personal-guest-heartbeat/invalid/self-ready.json +9 -0
  146. package/fixtures/json-schema/personal-guest-heartbeat/invalid/zero-sequence.json +8 -0
  147. package/fixtures/json-schema/personal-guest-heartbeat/valid/minimal.json +8 -0
  148. package/fixtures/json-schema/personal-guest-provisioning/invalid/network.json +1 -0
  149. package/fixtures/json-schema/personal-guest-provisioning/valid/basic.json +1 -0
  150. package/fixtures/json-schema/personal-guest-renewal/invalid/unknown.json +1 -0
  151. package/fixtures/json-schema/personal-guest-renewal/valid/basic.json +1 -0
  152. package/fixtures/json-schema/personal-guest-runtime/invalid/minimal.json +45 -0
  153. package/fixtures/json-schema/personal-guest-runtime/valid/minimal.json +45 -0
  154. package/fixtures/json-schema/personal-guest-runtime-result/invalid/minimal.json +28 -0
  155. package/fixtures/json-schema/personal-guest-runtime-result/valid/minimal.json +27 -0
  156. package/fixtures/json-schema/personal-guest-tools/invalid/minimal.json +31 -0
  157. package/fixtures/json-schema/personal-guest-tools/valid/minimal.json +30 -0
  158. package/fixtures/json-schema/source-import-policy/invalid/case-variant-scope.json +4 -0
  159. package/fixtures/json-schema/source-import-policy/invalid/case-variant-version.json +4 -0
  160. package/fixtures/json-schema/source-import-policy/invalid/duplicate-grant.json +4 -0
  161. package/fixtures/json-schema/source-import-policy/invalid/empty-id.json +4 -0
  162. package/fixtures/json-schema/source-import-policy/invalid/future-version.json +4 -0
  163. package/fixtures/json-schema/source-import-policy/invalid/unknown-field.json +4 -0
  164. package/fixtures/json-schema/source-import-policy/valid/deny-all.json +4 -0
  165. package/fixtures/json-schema/source-import-policy/valid/shared.json +4 -0
  166. package/fixtures/json-schema/token-claims/invalid/authz-negative.json +23 -0
  167. package/fixtures/json-schema/token-claims/invalid/authz-string.json +23 -0
  168. package/fixtures/json-schema/token-claims/invalid/authz-zero.json +23 -0
  169. package/fixtures/json-schema/token-claims/valid/versioned-session.json +23 -0
  170. package/fixtures/openapi/AgentRunEventListEnvelope/invalid/basic.json +8 -0
  171. package/fixtures/openapi/AgentRunEventListEnvelope/valid/basic.json +8 -0
  172. package/fixtures/openapi/AgentRunEventListEnvelope/valid/native.json +1 -0
  173. package/fixtures/openapi/AgentRunResumeRequest/invalid/basic.json +3 -0
  174. package/fixtures/openapi/AgentRunResumeRequest/valid/basic.json +3 -0
  175. package/fixtures/openapi/AgentSSHCommandRequest/invalid/task51.json +24 -0
  176. package/fixtures/openapi/AgentSSHCommandRequest/valid/task51.json +23 -0
  177. package/fixtures/openapi/AgentSSHCommandResult/invalid/task51.json +8 -0
  178. package/fixtures/openapi/AgentSSHCommandResult/valid/task51.json +7 -0
  179. package/fixtures/openapi/AgentSSHSessionRequest/invalid/task51.json +20 -0
  180. package/fixtures/openapi/AgentSSHSessionRequest/valid/task51.json +19 -0
  181. package/fixtures/openapi/CapabilityTaskInput/invalid/duplicate-scope.json +36 -0
  182. package/fixtures/openapi/CapabilityTaskInput/valid/scoped.json +32 -0
  183. package/fixtures/openapi/DockerQuickCreateHostInput/invalid/guest-access.json +7 -0
  184. package/fixtures/openapi/DockerQuickCreateHostInput/valid/guest-access.json +9 -0
  185. package/fixtures/openapi/KnowledgeSourceDocument/invalid/tombstone-with-content.json +1 -0
  186. package/fixtures/openapi/KnowledgeSourceDocument/valid/tombstone.json +1 -0
  187. package/fixtures/openapi/KubernetesResourceUpdatePlanRequest/invalid/missing-required.json +1 -0
  188. package/fixtures/openapi/KubernetesResourceYaml/invalid/missing-required.json +1 -0
  189. package/fixtures/openapi/ObservabilityDataSource/invalid/missing-required.json +1 -0
  190. package/fixtures/openapi/PersonalAgentAccess/invalid/invalid.json +1 -0
  191. package/fixtures/openapi/PersonalAgentAccess/valid/valid.json +1 -0
  192. package/fixtures/openapi/PersonalAgentAccessDecision/invalid/invalid.json +1 -0
  193. package/fixtures/openapi/PersonalAgentAccessDecision/valid/valid.json +1 -0
  194. package/fixtures/openapi/PersonalAssistantArtifactListEnvelope/invalid/owner.json +8 -0
  195. package/fixtures/openapi/PersonalAssistantArtifactListEnvelope/valid/side-chat.json +9 -0
  196. package/fixtures/openapi/PersonalAssistantAvatarRequest/invalid/motion.json +1 -0
  197. package/fixtures/openapi/PersonalAssistantAvatarRequest/invalid/owner.json +1 -0
  198. package/fixtures/openapi/PersonalAssistantAvatarRequest/invalid/remote.json +1 -0
  199. package/fixtures/openapi/PersonalAssistantAvatarRequest/invalid/svg.json +1 -0
  200. package/fixtures/openapi/PersonalAssistantAvatarRequest/valid/raster.json +1 -0
  201. package/fixtures/openapi/PersonalAssistantAvatarRequest/valid/reset.json +1 -0
  202. package/fixtures/openapi/PersonalAssistantUpdateRequest/invalid/empty.json +1 -0
  203. package/fixtures/openapi/PersonalAssistantUpdateRequest/invalid/owner.json +1 -0
  204. package/fixtures/openapi/PersonalAssistantUpdateRequest/valid/name.json +1 -0
  205. package/fixtures/openapi/PersonalDockerEnvironmentPolicy/invalid/host-url.json +12 -0
  206. package/fixtures/openapi/PersonalDockerEnvironmentPolicy/invalid/lifetime.json +11 -0
  207. package/fixtures/openapi/PersonalDockerEnvironmentPolicy/invalid/unknown-agent.json +11 -0
  208. package/fixtures/openapi/PersonalDockerEnvironmentPolicy/valid/basic.json +11 -0
  209. package/fixtures/openapi/PersonalEnvironment/invalid/invented-state.json +6 -0
  210. package/fixtures/openapi/PersonalEnvironment/invalid/missing-state.json +5 -0
  211. package/fixtures/openapi/PersonalEnvironment/invalid/negative-generation.json +7 -0
  212. package/fixtures/openapi/PersonalEnvironment/invalid/network.json +23 -0
  213. package/fixtures/openapi/PersonalEnvironment/invalid/private-node.json +24 -0
  214. package/fixtures/openapi/PersonalEnvironment/invalid/unsupported-backend.json +7 -0
  215. package/fixtures/openapi/PersonalEnvironment/valid/deleted.json +23 -0
  216. package/fixtures/openapi/PersonalEnvironment/valid/deleting.json +23 -0
  217. package/fixtures/openapi/PersonalEnvironment/valid/deletion_unknown.json +23 -0
  218. package/fixtures/openapi/PersonalEnvironment/valid/frozen-binding.json +13 -0
  219. package/fixtures/openapi/PersonalEnvironment/valid/ready.json +23 -0
  220. package/fixtures/openapi/PersonalEnvironment/valid/unknown.json +23 -0
  221. package/fixtures/openapi/PersonalEnvironment/valid/unprovisioned.json +6 -0
  222. package/fixtures/openapi/PersonalEnvironmentActionRequest/invalid/command.json +3 -0
  223. package/fixtures/openapi/PersonalEnvironmentActionRequest/invalid/node.json +4 -0
  224. package/fixtures/openapi/PersonalEnvironmentActionRequest/invalid/owner.json +4 -0
  225. package/fixtures/openapi/PersonalEnvironmentActionRequest/invalid/quota.json +10 -0
  226. package/fixtures/openapi/PersonalEnvironmentActionRequest/valid/reconcile.json +3 -0
  227. package/fixtures/openapi/PersonalEnvironmentActionRequest/valid/sleep.json +3 -0
  228. package/fixtures/openapi/PersonalEnvironmentActionRequest/valid/wake.json +4 -0
  229. package/fixtures/openapi/PersonalEnvironmentDataDeletionRequest/invalid/empty-name.json +5 -0
  230. package/fixtures/openapi/PersonalEnvironmentDataDeletionRequest/invalid/long-name.json +5 -0
  231. package/fixtures/openapi/PersonalEnvironmentDataDeletionRequest/invalid/missing-name.json +4 -0
  232. package/fixtures/openapi/PersonalEnvironmentDataDeletionRequest/invalid/owner.json +6 -0
  233. package/fixtures/openapi/PersonalEnvironmentDataDeletionRequest/invalid/stale-version.json +5 -0
  234. package/fixtures/openapi/PersonalEnvironmentDataDeletionRequest/valid/confirmed.json +5 -0
  235. package/fixtures/openapi/PersonalEnvironmentDataExportRequest/invalid/assistantId.json +4 -0
  236. package/fixtures/openapi/PersonalEnvironmentDataExportRequest/invalid/environmentVersion.json +4 -0
  237. package/fixtures/openapi/PersonalEnvironmentDataExportRequest/invalid/ownerId.json +5 -0
  238. package/fixtures/openapi/PersonalEnvironmentDataExportRequest/valid/current.json +4 -0
  239. package/fixtures/openapi/PersonalEnvironmentEnvelope/invalid/missing-data.json +1 -0
  240. package/fixtures/openapi/PersonalEnvironmentEnvelope/valid/state.json +8 -0
  241. package/fixtures/openapi/PersonalEnvironmentQuota/invalid/cpu.json +7 -0
  242. package/fixtures/openapi/PersonalEnvironmentQuota/invalid/disk.json +7 -0
  243. package/fixtures/openapi/PersonalEnvironmentQuota/invalid/network.json +7 -0
  244. package/fixtures/openapi/PersonalEnvironmentQuota/invalid/processes.json +7 -0
  245. package/fixtures/openapi/PersonalEnvironmentQuota/valid/basic.json +7 -0
  246. package/fixtures/openapi/PersonalEnvironmentTemplate/invalid/mode.json +13 -0
  247. package/fixtures/openapi/PersonalEnvironmentTemplate/invalid/network.json +13 -0
  248. package/fixtures/openapi/PersonalEnvironmentTemplate/invalid/node.json +14 -0
  249. package/fixtures/openapi/PersonalEnvironmentTemplate/valid/template.json +13 -0
  250. package/fixtures/openapi/PersonalEnvironmentTemplateListEnvelope/invalid/missing.json +1 -0
  251. package/fixtures/openapi/PersonalEnvironmentTemplateListEnvelope/invalid/unbounded.json +1317 -0
  252. package/fixtures/openapi/PersonalEnvironmentTemplateListEnvelope/valid/choices.json +17 -0
  253. package/fixtures/openapi/PersonalEnvironmentTemplateListEnvelope/valid/empty.json +3 -0
  254. package/fixtures/openapi/PersonalEnvironmentUsage/invalid/negative.json +6 -0
  255. package/fixtures/openapi/PersonalEnvironmentUsage/valid/usage.json +6 -0
  256. package/fixtures/openapi/PersonalFeedFeedback/invalid/owner.json +4 -0
  257. package/fixtures/openapi/PersonalFeedFeedback/valid/liked.json +3 -0
  258. package/fixtures/openapi/PersonalFeedItem/invalid/no-source.json +9 -0
  259. package/fixtures/openapi/PersonalFeedItem/valid/post.json +15 -0
  260. package/fixtures/openapi/PersonalFeedSettings/invalid/owner.json +6 -0
  261. package/fixtures/openapi/PersonalFeedSettings/valid/default.json +5 -0
  262. package/fixtures/openapi/PersonalGuestPreparationInput/invalid/foreign-owner.json +5 -0
  263. package/fixtures/openapi/PersonalGuestPreparationInput/invalid/unsafe-counter.json +4 -0
  264. package/fixtures/openapi/PersonalGuestPreparationInput/valid/ed25519-csr.json +4 -0
  265. package/fixtures/openapi/PersonalGuestRuntimeEnvelope/invalid/minimal.json +10 -0
  266. package/fixtures/openapi/PersonalGuestRuntimeEnvelope/valid/minimal.json +9 -0
  267. package/fixtures/openapi/PersonalGuestRuntimeInput/invalid/minimal.json +6 -0
  268. package/fixtures/openapi/PersonalGuestRuntimeInput/valid/minimal.json +8 -0
  269. package/fixtures/openapi/PersonalGuestToolsInput/invalid/minimal.json +5 -0
  270. package/fixtures/openapi/PersonalGuestToolsInput/valid/minimal.json +4 -0
  271. package/fixtures/openapi/PersonalVMEnvironmentPolicy/invalid/device.json +15 -0
  272. package/fixtures/openapi/PersonalVMEnvironmentPolicy/invalid/fractional-size.json +15 -0
  273. package/fixtures/openapi/PersonalVMEnvironmentPolicy/invalid/network.json +15 -0
  274. package/fixtures/openapi/PersonalVMEnvironmentPolicy/invalid/owner.json +15 -0
  275. package/fixtures/openapi/PersonalVMEnvironmentPolicy/invalid/provider.json +15 -0
  276. package/fixtures/openapi/PersonalVMEnvironmentPolicy/invalid/unknown.json +16 -0
  277. package/fixtures/openapi/PersonalVMEnvironmentPolicy/valid/pve.json +15 -0
  278. package/fixtures/openapi/PersonalWorkspaceRuntime/invalid/shared.json +3 -0
  279. package/fixtures/openapi/PersonalWorkspaceRuntime/valid/shared.json +4 -0
  280. package/fixtures/openapi/PersonalWorkspaceRuntimeEnvelope/invalid/shared.json +5 -0
  281. package/fixtures/openapi/PersonalWorkspaceRuntimeEnvelope/valid/shared.json +6 -0
  282. package/fixtures/openapi/SecretGenerateSSHKeyRequest/invalid/task51.json +6 -0
  283. package/fixtures/openapi/SecretGenerateSSHKeyRequest/valid/task51.json +12 -0
  284. package/fixtures/openapi/SecretReferenceUsage/invalid/version.json +6 -0
  285. package/fixtures/openapi/SecretReferenceUsage/valid/version.json +8 -0
  286. package/fixtures/openapi/VMSSHCredentialRedemptionInput/invalid/task51.json +7 -0
  287. package/fixtures/openapi/VMSSHCredentialRedemptionInput/valid/task51.json +6 -0
  288. package/fixtures/openapi/VirtualMachineAccessBindingInput/invalid/task51.json +10 -0
  289. package/fixtures/openapi/VirtualMachineAccessBindingInput/valid/task51.json +10 -0
  290. package/fixtures/openapi/VirtualMachineActionInput/invalid/capacity-not-boolean.json +1 -0
  291. package/fixtures/openapi/VirtualMachineActionInput/valid/new-data-with-admission.json +1 -0
  292. package/fixtures/openapi/VirtualMachineCreateInput/valid/cloud-image.json +12 -0
  293. package/fixtures/openapi/VirtualMachineDiskChange/invalid/serial-config-injection.json +1 -0
  294. package/fixtures/openapi/VirtualMachineDiskChange/invalid/serial-existing-disk.json +1 -0
  295. package/fixtures/openapi/VirtualMachineDiskChange/invalid/serial-too-long.json +1 -0
  296. package/fixtures/openapi/VirtualMachineDiskChange/valid/personal-data.json +1 -0
  297. package/fixtures/openapi/VirtualMachineGuestAccessInput/invalid/task51.json +4 -0
  298. package/fixtures/openapi/VirtualMachineGuestAccessInput/valid/task51.json +6 -0
  299. package/fixtures/openapi/VirtualMachineSSHCommand/invalid/task51.json +9 -0
  300. package/fixtures/openapi/VirtualMachineSSHCommand/valid/task51.json +8 -0
  301. package/fixtures/openapi/VirtualMachineSSHCommandInput/invalid/task51.json +5 -0
  302. package/fixtures/openapi/VirtualMachineSSHCommandInput/valid/task51.json +5 -0
  303. package/fixtures/openapi/VirtualMachineSSHFrame/invalid/encoding.json +5 -0
  304. package/fixtures/openapi/VirtualMachineSSHFrame/invalid/task51.json +4 -0
  305. package/fixtures/openapi/VirtualMachineSSHFrame/valid/binary.json +5 -0
  306. package/fixtures/openapi/VirtualMachineSSHFrame/valid/task51.json +5 -0
  307. package/fixtures/openapi/VirtualMachineSSHSessionInput/invalid/task51.json +4 -0
  308. package/fixtures/openapi/VirtualMachineSSHSessionInput/valid/task51.json +5 -0
  309. package/fixtures/openapi/VirtualizationCapacityPolicyInput/invalid/task51.json +12 -0
  310. package/fixtures/openapi/VirtualizationCapacityPolicyInput/valid/task51.json +13 -0
  311. package/fixtures/openapi/VirtualizationImageInput/invalid/cloud-image-config-type.json +6 -0
  312. package/fixtures/openapi/VirtualizationImageInput/valid/cloud-image.json +11 -0
  313. package/fixtures/openapi/WorkbenchAssistantTask/invalid/kind.json +1 -0
  314. package/fixtures/openapi/WorkbenchAssistantTask/invalid/owner.json +1 -0
  315. package/fixtures/openapi/WorkbenchAssistantTask/valid/generate.json +1 -0
  316. package/fixtures/openapi/WorkbenchAssistantTask/valid/undo.json +1 -0
  317. package/fixtures/openapi/WorkbenchContextSelection/invalid/remote-image.json +1 -0
  318. package/fixtures/openapi/WorkbenchContextSelection/invalid/too-many-images.json +1 -0
  319. package/fixtures/openapi/WorkbenchContextSelection/valid/chat-image.json +9 -0
  320. package/fixtures/openapi/WorkbenchContextUsage/invalid/fractional-capacity.json +1 -0
  321. package/fixtures/openapi/WorkbenchContextUsage/invalid/negative.json +1 -0
  322. package/fixtures/openapi/WorkbenchContextUsage/valid/reported.json +1 -0
  323. package/fixtures/openapi/WorkbenchContextUsage/valid/unknown.json +1 -0
  324. package/fixtures/openapi/WorkbenchMainSessionRequest/invalid/owner.json +1 -0
  325. package/fixtures/openapi/WorkbenchMainSessionRequest/invalid/provider.json +1 -0
  326. package/fixtures/openapi/WorkbenchMainSessionRequest/valid/empty.json +1 -0
  327. package/fixtures/openapi/WorkbenchMainSessionRequest/valid/provider.json +1 -0
  328. package/fixtures/openapi/WorkbenchMessageSearchPage/invalid/role.json +12 -0
  329. package/fixtures/openapi/WorkbenchMessageSearchPage/valid/page.json +12 -0
  330. package/fixtures/openapi/WorkbenchMessageWindow/invalid/missing.json +1 -0
  331. package/fixtures/openapi/WorkbenchMessageWindow/valid/empty.json +3 -0
  332. package/fixtures/openapi/WorkbenchModelOption/invalid/zero-capacity.json +1 -0
  333. package/fixtures/openapi/WorkbenchModelOption/valid/capacity.json +1 -0
  334. package/fixtures/openapi/WorkbenchModelOption/valid/unknown.json +1 -0
  335. package/fixtures/openapi/WorkbenchProfessionalCapabilityInput/invalid/basic.json +7 -0
  336. package/fixtures/openapi/WorkbenchProfessionalCapabilityInput/valid/basic.json +11 -0
  337. package/fixtures/openapi/WorkbenchProfessionalCapabilityInput/valid/selected-profile.json +23 -0
  338. package/fixtures/openapi/WorkbenchSendMessageStreamRequest/invalid/missing-required.json +1 -0
  339. package/fixtures/openapi/WorkbenchSendMessageStreamRequest/valid/mixed-professional-task.json +22 -0
  340. package/fixtures/openapi/WorkbenchTaskIntent/invalid/basic.json +5 -0
  341. package/fixtures/openapi/WorkbenchTaskIntent/invalid/oversized-capability-source.json +3 -0
  342. package/fixtures/openapi/WorkbenchTaskIntent/valid/basic.json +9 -0
  343. package/fixtures/openapi/WorkbenchTaskIntent/valid/independent-sources.json +17 -0
  344. package/gen/go/sohaapi/client.go +1 -1
  345. package/gen/go/sohaapi/personal_environment_test.go +25 -0
  346. package/gen/go/sohaapi/types.go +2679 -240
  347. package/gen/go/sohaapi/types_test.go +30 -30
  348. package/gen/go/sohaapi/vm_disk_test.go +21 -0
  349. package/gen/ts/sohaapi/index.ts +4150 -169
  350. package/go.mod +61 -49
  351. package/go.sum +202 -176
  352. package/knowledge/connector-definition.schema.json +6 -1
  353. package/knowledge/source-import-policy.schema.json +32 -0
  354. package/memory/memory-record.schema.json +1 -1
  355. package/openapi/soha-api.json +22230 -15693
  356. package/openapi/soha-api.yaml +2495 -12
  357. package/openapi/spec_generated.go +3 -3
  358. package/package.json +19 -3
  359. /package/fixtures/openapi/DeliveryExecutionHistoryPage/{invalid-kind.json → invalid/invalid-kind.json} +0 -0
  360. /package/fixtures/openapi/DeliveryExecutionHistoryPage/{valid-build.json → valid/valid-build.json} +0 -0
  361. /package/fixtures/openapi/DeliveryExecutionHistoryPage/{valid-empty.json → valid/valid-empty.json} +0 -0
@@ -24,6 +24,7 @@ const (
24
24
  const (
25
25
  AIEnvironmentTemplateBackendContainer AIEnvironmentTemplateBackend = "container"
26
26
  AIEnvironmentTemplateBackendKubernetes AIEnvironmentTemplateBackend = "kubernetes"
27
+ AIEnvironmentTemplateBackendVM AIEnvironmentTemplateBackend = "vm"
27
28
  )
28
29
 
29
30
  // Valid indicates whether the value is a known member of the AIEnvironmentTemplateBackend enum.
@@ -33,6 +34,8 @@ func (e AIEnvironmentTemplateBackend) Valid() bool {
33
34
  return true
34
35
  case AIEnvironmentTemplateBackendKubernetes:
35
36
  return true
37
+ case AIEnvironmentTemplateBackendVM:
38
+ return true
36
39
  default:
37
40
  return false
38
41
  }
@@ -60,6 +63,7 @@ func (e AIEnvironmentTemplateIsolationMode) Valid() bool {
60
63
  const (
61
64
  AIEnvironmentTemplateInputBackendContainer AIEnvironmentTemplateInputBackend = "container"
62
65
  AIEnvironmentTemplateInputBackendKubernetes AIEnvironmentTemplateInputBackend = "kubernetes"
66
+ AIEnvironmentTemplateInputBackendVM AIEnvironmentTemplateInputBackend = "vm"
63
67
  )
64
68
 
65
69
  // Valid indicates whether the value is a known member of the AIEnvironmentTemplateInputBackend enum.
@@ -69,6 +73,8 @@ func (e AIEnvironmentTemplateInputBackend) Valid() bool {
69
73
  return true
70
74
  case AIEnvironmentTemplateInputBackendKubernetes:
71
75
  return true
76
+ case AIEnvironmentTemplateInputBackendVM:
77
+ return true
72
78
  default:
73
79
  return false
74
80
  }
@@ -220,19 +226,37 @@ func (e AgentProviderRunnerStatusHealth) Valid() bool {
220
226
 
221
227
  // Defines values for AgentProviderRuntimeDefinitionKind.
222
228
  const (
223
- Cli AgentProviderRuntimeDefinitionKind = "cli"
224
- Container AgentProviderRuntimeDefinitionKind = "container"
225
- Remote AgentProviderRuntimeDefinitionKind = "remote"
229
+ AgentProviderRuntimeDefinitionKindCli AgentProviderRuntimeDefinitionKind = "cli"
230
+ AgentProviderRuntimeDefinitionKindContainer AgentProviderRuntimeDefinitionKind = "container"
231
+ AgentProviderRuntimeDefinitionKindRemote AgentProviderRuntimeDefinitionKind = "remote"
226
232
  )
227
233
 
228
234
  // Valid indicates whether the value is a known member of the AgentProviderRuntimeDefinitionKind enum.
229
235
  func (e AgentProviderRuntimeDefinitionKind) Valid() bool {
230
236
  switch e {
231
- case Cli:
237
+ case AgentProviderRuntimeDefinitionKindCli:
232
238
  return true
233
- case Container:
239
+ case AgentProviderRuntimeDefinitionKindContainer:
234
240
  return true
235
- case Remote:
241
+ case AgentProviderRuntimeDefinitionKindRemote:
242
+ return true
243
+ default:
244
+ return false
245
+ }
246
+ }
247
+
248
+ // Defines values for AgentRunExecutionOwner.
249
+ const (
250
+ AgentRunExecutionOwnerExternal AgentRunExecutionOwner = "external"
251
+ AgentRunExecutionOwnerNative AgentRunExecutionOwner = "native"
252
+ )
253
+
254
+ // Valid indicates whether the value is a known member of the AgentRunExecutionOwner enum.
255
+ func (e AgentRunExecutionOwner) Valid() bool {
256
+ switch e {
257
+ case AgentRunExecutionOwnerExternal:
258
+ return true
259
+ case AgentRunExecutionOwnerNative:
236
260
  return true
237
261
  default:
238
262
  return false
@@ -379,13 +403,13 @@ func (e AgentRunCallbackWorkbenchErrorEventType) Valid() bool {
379
403
 
380
404
  // Defines values for AgentRunCallbackWorkbenchMessageDeltaEventRole.
381
405
  const (
382
- AgentRunCallbackWorkbenchMessageDeltaEventRoleAssistant AgentRunCallbackWorkbenchMessageDeltaEventRole = "assistant"
406
+ AgentRunCallbackWorkbenchMessageDeltaEventRoleAgentRunCallbackWorkbenchMessageDeltaEventRoleAssistant AgentRunCallbackWorkbenchMessageDeltaEventRole = "assistant"
383
407
  )
384
408
 
385
409
  // Valid indicates whether the value is a known member of the AgentRunCallbackWorkbenchMessageDeltaEventRole enum.
386
410
  func (e AgentRunCallbackWorkbenchMessageDeltaEventRole) Valid() bool {
387
411
  switch e {
388
- case AgentRunCallbackWorkbenchMessageDeltaEventRoleAssistant:
412
+ case AgentRunCallbackWorkbenchMessageDeltaEventRoleAgentRunCallbackWorkbenchMessageDeltaEventRoleAssistant:
389
413
  return true
390
414
  default:
391
415
  return false
@@ -409,13 +433,13 @@ func (e AgentRunCallbackWorkbenchMessageDeltaEventType) Valid() bool {
409
433
 
410
434
  // Defines values for AgentRunCallbackWorkbenchMessageDoneEventRole.
411
435
  const (
412
- AgentRunCallbackWorkbenchMessageDoneEventRoleAssistant AgentRunCallbackWorkbenchMessageDoneEventRole = "assistant"
436
+ AgentRunCallbackWorkbenchMessageDoneEventRoleAgentRunCallbackWorkbenchMessageDeltaEventRoleAssistant AgentRunCallbackWorkbenchMessageDoneEventRole = "assistant"
413
437
  )
414
438
 
415
439
  // Valid indicates whether the value is a known member of the AgentRunCallbackWorkbenchMessageDoneEventRole enum.
416
440
  func (e AgentRunCallbackWorkbenchMessageDoneEventRole) Valid() bool {
417
441
  switch e {
418
- case AgentRunCallbackWorkbenchMessageDoneEventRoleAssistant:
442
+ case AgentRunCallbackWorkbenchMessageDoneEventRoleAgentRunCallbackWorkbenchMessageDeltaEventRoleAssistant:
419
443
  return true
420
444
  default:
421
445
  return false
@@ -611,6 +635,27 @@ func (e AgentRunnerToolInputToolName) Valid() bool {
611
635
  }
612
636
  }
613
637
 
638
+ // Defines values for AgentSSHCommandResultEffect.
639
+ const (
640
+ AgentSSHCommandResultEffectExited AgentSSHCommandResultEffect = "exited"
641
+ AgentSSHCommandResultEffectNotStarted AgentSSHCommandResultEffect = "not_started"
642
+ AgentSSHCommandResultEffectUnknown AgentSSHCommandResultEffect = "unknown"
643
+ )
644
+
645
+ // Valid indicates whether the value is a known member of the AgentSSHCommandResultEffect enum.
646
+ func (e AgentSSHCommandResultEffect) Valid() bool {
647
+ switch e {
648
+ case AgentSSHCommandResultEffectExited:
649
+ return true
650
+ case AgentSSHCommandResultEffectNotStarted:
651
+ return true
652
+ case AgentSSHCommandResultEffectUnknown:
653
+ return true
654
+ default:
655
+ return false
656
+ }
657
+ }
658
+
614
659
  // Defines values for AlertRuleType.
615
660
  const (
616
661
  AlertRuleTypeExternalPassthrough AlertRuleType = "external_passthrough"
@@ -2668,16 +2713,16 @@ func (e DeliveryPlanApprovalInputAction) Valid() bool {
2668
2713
 
2669
2714
  // Defines values for DeliveryPlanInputSource.
2670
2715
  const (
2671
- AI DeliveryPlanInputSource = "ai"
2672
- Manual DeliveryPlanInputSource = "manual"
2716
+ DeliveryPlanInputSourceAI DeliveryPlanInputSource = "ai"
2717
+ DeliveryPlanInputSourceManual DeliveryPlanInputSource = "manual"
2673
2718
  )
2674
2719
 
2675
2720
  // Valid indicates whether the value is a known member of the DeliveryPlanInputSource enum.
2676
2721
  func (e DeliveryPlanInputSource) Valid() bool {
2677
2722
  switch e {
2678
- case AI:
2723
+ case DeliveryPlanInputSourceAI:
2679
2724
  return true
2680
- case Manual:
2725
+ case DeliveryPlanInputSourceManual:
2681
2726
  return true
2682
2727
  default:
2683
2728
  return false
@@ -4223,6 +4268,24 @@ func (e KnowledgeIngestionStage) Valid() bool {
4223
4268
  }
4224
4269
  }
4225
4270
 
4271
+ // Defines values for KnowledgeSearchResultRetrievalMode.
4272
+ const (
4273
+ Hybrid KnowledgeSearchResultRetrievalMode = "hybrid"
4274
+ Lexical KnowledgeSearchResultRetrievalMode = "lexical"
4275
+ )
4276
+
4277
+ // Valid indicates whether the value is a known member of the KnowledgeSearchResultRetrievalMode enum.
4278
+ func (e KnowledgeSearchResultRetrievalMode) Valid() bool {
4279
+ switch e {
4280
+ case Hybrid:
4281
+ return true
4282
+ case Lexical:
4283
+ return true
4284
+ default:
4285
+ return false
4286
+ }
4287
+ }
4288
+
4226
4289
  // Defines values for KnowledgeSourceKind.
4227
4290
  const (
4228
4291
  KnowledgeSourceKindGit KnowledgeSourceKind = "git"
@@ -4391,6 +4454,33 @@ func (e KubernetesConnectionMode) Valid() bool {
4391
4454
  }
4392
4455
  }
4393
4456
 
4457
+ // Defines values for KubernetesCustomResourceAccessAllowedActions.
4458
+ const (
4459
+ CustomResourceAccessCreate KubernetesCustomResourceAccessAllowedActions = "create"
4460
+ CustomResourceAccessDelete KubernetesCustomResourceAccessAllowedActions = "delete"
4461
+ CustomResourceAccessList KubernetesCustomResourceAccessAllowedActions = "list"
4462
+ CustomResourceAccessUpdate KubernetesCustomResourceAccessAllowedActions = "update"
4463
+ CustomResourceAccessView KubernetesCustomResourceAccessAllowedActions = "view"
4464
+ )
4465
+
4466
+ // Valid indicates whether the value is a known member of the KubernetesCustomResourceAccessAllowedActions enum.
4467
+ func (e KubernetesCustomResourceAccessAllowedActions) Valid() bool {
4468
+ switch e {
4469
+ case CustomResourceAccessCreate:
4470
+ return true
4471
+ case CustomResourceAccessDelete:
4472
+ return true
4473
+ case CustomResourceAccessList:
4474
+ return true
4475
+ case CustomResourceAccessUpdate:
4476
+ return true
4477
+ case CustomResourceAccessView:
4478
+ return true
4479
+ default:
4480
+ return false
4481
+ }
4482
+ }
4483
+
4394
4484
  // Defines values for KubernetesImportCandidateWorkloadKind.
4395
4485
  const (
4396
4486
  KubernetesImportCandidateWorkloadKindDaemonSet KubernetesImportCandidateWorkloadKind = "DaemonSet"
@@ -4456,16 +4546,16 @@ func (e KubernetesImportedTargetWorkloadKind) Valid() bool {
4456
4546
 
4457
4547
  // Defines values for KubernetesPrometheusTransport.
4458
4548
  const (
4459
- Agent KubernetesPrometheusTransport = "agent"
4460
- Direct KubernetesPrometheusTransport = "direct"
4549
+ KubernetesPrometheusTransportAgent KubernetesPrometheusTransport = "agent"
4550
+ KubernetesPrometheusTransportDirect KubernetesPrometheusTransport = "direct"
4461
4551
  )
4462
4552
 
4463
4553
  // Valid indicates whether the value is a known member of the KubernetesPrometheusTransport enum.
4464
4554
  func (e KubernetesPrometheusTransport) Valid() bool {
4465
4555
  switch e {
4466
- case Agent:
4556
+ case KubernetesPrometheusTransportAgent:
4467
4557
  return true
4468
- case Direct:
4558
+ case KubernetesPrometheusTransportDirect:
4469
4559
  return true
4470
4560
  default:
4471
4561
  return false
@@ -6749,6 +6839,96 @@ func (e NetworkPolicyPath) Valid() bool {
6749
6839
  }
6750
6840
  }
6751
6841
 
6842
+ // Defines values for NetworkProxyCapability.
6843
+ const (
6844
+ NetworkProxyCapabilityCloseConnection NetworkProxyCapability = "close_connection"
6845
+ NetworkProxyCapabilityConnections NetworkProxyCapability = "connections"
6846
+ NetworkProxyCapabilityTraffic NetworkProxyCapability = "traffic"
6847
+ )
6848
+
6849
+ // Valid indicates whether the value is a known member of the NetworkProxyCapability enum.
6850
+ func (e NetworkProxyCapability) Valid() bool {
6851
+ switch e {
6852
+ case NetworkProxyCapabilityCloseConnection:
6853
+ return true
6854
+ case NetworkProxyCapabilityConnections:
6855
+ return true
6856
+ case NetworkProxyCapabilityTraffic:
6857
+ return true
6858
+ default:
6859
+ return false
6860
+ }
6861
+ }
6862
+
6863
+ // Defines values for NetworkProxyCloseCommandEnvelopeStatus.
6864
+ const (
6865
+ NetworkProxyCloseCommandEnvelopeStatusClosed NetworkProxyCloseCommandEnvelopeStatus = "closed"
6866
+ NetworkProxyCloseCommandEnvelopeStatusExpired NetworkProxyCloseCommandEnvelopeStatus = "expired"
6867
+ NetworkProxyCloseCommandEnvelopeStatusFailed NetworkProxyCloseCommandEnvelopeStatus = "failed"
6868
+ NetworkProxyCloseCommandEnvelopeStatusNotFound NetworkProxyCloseCommandEnvelopeStatus = "not-found"
6869
+ NetworkProxyCloseCommandEnvelopeStatusPending NetworkProxyCloseCommandEnvelopeStatus = "pending"
6870
+ )
6871
+
6872
+ // Valid indicates whether the value is a known member of the NetworkProxyCloseCommandEnvelopeStatus enum.
6873
+ func (e NetworkProxyCloseCommandEnvelopeStatus) Valid() bool {
6874
+ switch e {
6875
+ case NetworkProxyCloseCommandEnvelopeStatusClosed:
6876
+ return true
6877
+ case NetworkProxyCloseCommandEnvelopeStatusExpired:
6878
+ return true
6879
+ case NetworkProxyCloseCommandEnvelopeStatusFailed:
6880
+ return true
6881
+ case NetworkProxyCloseCommandEnvelopeStatusNotFound:
6882
+ return true
6883
+ case NetworkProxyCloseCommandEnvelopeStatusPending:
6884
+ return true
6885
+ default:
6886
+ return false
6887
+ }
6888
+ }
6889
+
6890
+ // Defines values for NetworkProxyConnectionNetwork.
6891
+ const (
6892
+ NetworkProxyConnectionNetworkOther NetworkProxyConnectionNetwork = "other"
6893
+ NetworkProxyConnectionNetworkTCP NetworkProxyConnectionNetwork = "tcp"
6894
+ NetworkProxyConnectionNetworkUDP NetworkProxyConnectionNetwork = "udp"
6895
+ )
6896
+
6897
+ // Valid indicates whether the value is a known member of the NetworkProxyConnectionNetwork enum.
6898
+ func (e NetworkProxyConnectionNetwork) Valid() bool {
6899
+ switch e {
6900
+ case NetworkProxyConnectionNetworkOther:
6901
+ return true
6902
+ case NetworkProxyConnectionNetworkTCP:
6903
+ return true
6904
+ case NetworkProxyConnectionNetworkUDP:
6905
+ return true
6906
+ default:
6907
+ return false
6908
+ }
6909
+ }
6910
+
6911
+ // Defines values for NetworkProxyConnectionsEnvelopeState.
6912
+ const (
6913
+ NetworkProxyConnectionsEnvelopeStateAvailable NetworkProxyConnectionsEnvelopeState = "available"
6914
+ NetworkProxyConnectionsEnvelopeStateUnavailable NetworkProxyConnectionsEnvelopeState = "unavailable"
6915
+ NetworkProxyConnectionsEnvelopeStateUnsupported NetworkProxyConnectionsEnvelopeState = "unsupported"
6916
+ )
6917
+
6918
+ // Valid indicates whether the value is a known member of the NetworkProxyConnectionsEnvelopeState enum.
6919
+ func (e NetworkProxyConnectionsEnvelopeState) Valid() bool {
6920
+ switch e {
6921
+ case NetworkProxyConnectionsEnvelopeStateAvailable:
6922
+ return true
6923
+ case NetworkProxyConnectionsEnvelopeStateUnavailable:
6924
+ return true
6925
+ case NetworkProxyConnectionsEnvelopeStateUnsupported:
6926
+ return true
6927
+ default:
6928
+ return false
6929
+ }
6930
+ }
6931
+
6752
6932
  // Defines values for NetworkProxyEngine.
6753
6933
  const (
6754
6934
  NetworkProxyEngineMihomo NetworkProxyEngine = "mihomo"
@@ -6770,6 +6950,33 @@ func (e NetworkProxyEngine) Valid() bool {
6770
6950
  }
6771
6951
  }
6772
6952
 
6953
+ // Defines values for NetworkProxyInstanceStatus.
6954
+ const (
6955
+ NetworkProxyInstanceStatusDegraded NetworkProxyInstanceStatus = "degraded"
6956
+ NetworkProxyInstanceStatusDisabled NetworkProxyInstanceStatus = "disabled"
6957
+ NetworkProxyInstanceStatusOffline NetworkProxyInstanceStatus = "offline"
6958
+ NetworkProxyInstanceStatusOnline NetworkProxyInstanceStatus = "online"
6959
+ NetworkProxyInstanceStatusUnregistered NetworkProxyInstanceStatus = "unregistered"
6960
+ )
6961
+
6962
+ // Valid indicates whether the value is a known member of the NetworkProxyInstanceStatus enum.
6963
+ func (e NetworkProxyInstanceStatus) Valid() bool {
6964
+ switch e {
6965
+ case NetworkProxyInstanceStatusDegraded:
6966
+ return true
6967
+ case NetworkProxyInstanceStatusDisabled:
6968
+ return true
6969
+ case NetworkProxyInstanceStatusOffline:
6970
+ return true
6971
+ case NetworkProxyInstanceStatusOnline:
6972
+ return true
6973
+ case NetworkProxyInstanceStatusUnregistered:
6974
+ return true
6975
+ default:
6976
+ return false
6977
+ }
6978
+ }
6979
+
6773
6980
  // Defines values for NetworkResourceKind.
6774
6981
  const (
6775
6982
  NetworkResourceKindCIDR NetworkResourceKind = "cidr"
@@ -7940,6 +8147,435 @@ func (e PermissionStatus) Valid() bool {
7940
8147
  }
7941
8148
  }
7942
8149
 
8150
+ // Defines values for PersonalAgentAccessStatus.
8151
+ const (
8152
+ PersonalAgentAccessStatusApproved PersonalAgentAccessStatus = "approved"
8153
+ PersonalAgentAccessStatusNotRequested PersonalAgentAccessStatus = "not_requested"
8154
+ PersonalAgentAccessStatusPending PersonalAgentAccessStatus = "pending"
8155
+ PersonalAgentAccessStatusRejected PersonalAgentAccessStatus = "rejected"
8156
+ PersonalAgentAccessStatusRevoked PersonalAgentAccessStatus = "revoked"
8157
+ )
8158
+
8159
+ // Valid indicates whether the value is a known member of the PersonalAgentAccessStatus enum.
8160
+ func (e PersonalAgentAccessStatus) Valid() bool {
8161
+ switch e {
8162
+ case PersonalAgentAccessStatusApproved:
8163
+ return true
8164
+ case PersonalAgentAccessStatusNotRequested:
8165
+ return true
8166
+ case PersonalAgentAccessStatusPending:
8167
+ return true
8168
+ case PersonalAgentAccessStatusRejected:
8169
+ return true
8170
+ case PersonalAgentAccessStatusRevoked:
8171
+ return true
8172
+ default:
8173
+ return false
8174
+ }
8175
+ }
8176
+
8177
+ // Defines values for PersonalAgentAccessDecisionStatus.
8178
+ const (
8179
+ Approved PersonalAgentAccessDecisionStatus = "approved"
8180
+ Rejected PersonalAgentAccessDecisionStatus = "rejected"
8181
+ Revoked PersonalAgentAccessDecisionStatus = "revoked"
8182
+ )
8183
+
8184
+ // Valid indicates whether the value is a known member of the PersonalAgentAccessDecisionStatus enum.
8185
+ func (e PersonalAgentAccessDecisionStatus) Valid() bool {
8186
+ switch e {
8187
+ case Approved:
8188
+ return true
8189
+ case Rejected:
8190
+ return true
8191
+ case Revoked:
8192
+ return true
8193
+ default:
8194
+ return false
8195
+ }
8196
+ }
8197
+
8198
+ // Defines values for PersonalAssistantAvatarMotion.
8199
+ const (
8200
+ PersonalAssistantAvatarMotionAuto PersonalAssistantAvatarMotion = "auto"
8201
+ PersonalAssistantAvatarMotionOff PersonalAssistantAvatarMotion = "off"
8202
+ )
8203
+
8204
+ // Valid indicates whether the value is a known member of the PersonalAssistantAvatarMotion enum.
8205
+ func (e PersonalAssistantAvatarMotion) Valid() bool {
8206
+ switch e {
8207
+ case PersonalAssistantAvatarMotionAuto:
8208
+ return true
8209
+ case PersonalAssistantAvatarMotionOff:
8210
+ return true
8211
+ default:
8212
+ return false
8213
+ }
8214
+ }
8215
+
8216
+ // Defines values for PersonalAssistantAvatarRequestAvatarMotion.
8217
+ const (
8218
+ PersonalAssistantAvatarRequestAvatarMotionAuto PersonalAssistantAvatarRequestAvatarMotion = "auto"
8219
+ PersonalAssistantAvatarRequestAvatarMotionOff PersonalAssistantAvatarRequestAvatarMotion = "off"
8220
+ )
8221
+
8222
+ // Valid indicates whether the value is a known member of the PersonalAssistantAvatarRequestAvatarMotion enum.
8223
+ func (e PersonalAssistantAvatarRequestAvatarMotion) Valid() bool {
8224
+ switch e {
8225
+ case PersonalAssistantAvatarRequestAvatarMotionAuto:
8226
+ return true
8227
+ case PersonalAssistantAvatarRequestAvatarMotionOff:
8228
+ return true
8229
+ default:
8230
+ return false
8231
+ }
8232
+ }
8233
+
8234
+ // Defines values for PersonalEnvironmentBackend.
8235
+ const (
8236
+ PersonalEnvironmentBackendContainer PersonalEnvironmentBackend = "container"
8237
+ PersonalEnvironmentBackendVM PersonalEnvironmentBackend = "vm"
8238
+ )
8239
+
8240
+ // Valid indicates whether the value is a known member of the PersonalEnvironmentBackend enum.
8241
+ func (e PersonalEnvironmentBackend) Valid() bool {
8242
+ switch e {
8243
+ case PersonalEnvironmentBackendContainer:
8244
+ return true
8245
+ case PersonalEnvironmentBackendVM:
8246
+ return true
8247
+ default:
8248
+ return false
8249
+ }
8250
+ }
8251
+
8252
+ // Defines values for PersonalEnvironmentProvider.
8253
+ const (
8254
+ PersonalEnvironmentProviderDocker PersonalEnvironmentProvider = "docker"
8255
+ PersonalEnvironmentProviderKubevirt PersonalEnvironmentProvider = "kubevirt"
8256
+ PersonalEnvironmentProviderPve PersonalEnvironmentProvider = "pve"
8257
+ )
8258
+
8259
+ // Valid indicates whether the value is a known member of the PersonalEnvironmentProvider enum.
8260
+ func (e PersonalEnvironmentProvider) Valid() bool {
8261
+ switch e {
8262
+ case PersonalEnvironmentProviderDocker:
8263
+ return true
8264
+ case PersonalEnvironmentProviderKubevirt:
8265
+ return true
8266
+ case PersonalEnvironmentProviderPve:
8267
+ return true
8268
+ default:
8269
+ return false
8270
+ }
8271
+ }
8272
+
8273
+ // Defines values for PersonalEnvironmentState.
8274
+ const (
8275
+ PersonalEnvironmentStateDeleted PersonalEnvironmentState = "deleted"
8276
+ PersonalEnvironmentStateDeleting PersonalEnvironmentState = "deleting"
8277
+ PersonalEnvironmentStateDeletionUnknown PersonalEnvironmentState = "deletion_unknown"
8278
+ PersonalEnvironmentStateExpired PersonalEnvironmentState = "expired"
8279
+ PersonalEnvironmentStateMissing PersonalEnvironmentState = "missing"
8280
+ PersonalEnvironmentStatePending PersonalEnvironmentState = "pending"
8281
+ PersonalEnvironmentStateQuotaExceeded PersonalEnvironmentState = "quota_exceeded"
8282
+ PersonalEnvironmentStateReady PersonalEnvironmentState = "ready"
8283
+ PersonalEnvironmentStateSleeping PersonalEnvironmentState = "sleeping"
8284
+ PersonalEnvironmentStateUnknown PersonalEnvironmentState = "unknown"
8285
+ PersonalEnvironmentStateUnprovisioned PersonalEnvironmentState = "unprovisioned"
8286
+ )
8287
+
8288
+ // Valid indicates whether the value is a known member of the PersonalEnvironmentState enum.
8289
+ func (e PersonalEnvironmentState) Valid() bool {
8290
+ switch e {
8291
+ case PersonalEnvironmentStateDeleted:
8292
+ return true
8293
+ case PersonalEnvironmentStateDeleting:
8294
+ return true
8295
+ case PersonalEnvironmentStateDeletionUnknown:
8296
+ return true
8297
+ case PersonalEnvironmentStateExpired:
8298
+ return true
8299
+ case PersonalEnvironmentStateMissing:
8300
+ return true
8301
+ case PersonalEnvironmentStatePending:
8302
+ return true
8303
+ case PersonalEnvironmentStateQuotaExceeded:
8304
+ return true
8305
+ case PersonalEnvironmentStateReady:
8306
+ return true
8307
+ case PersonalEnvironmentStateSleeping:
8308
+ return true
8309
+ case PersonalEnvironmentStateUnknown:
8310
+ return true
8311
+ case PersonalEnvironmentStateUnprovisioned:
8312
+ return true
8313
+ default:
8314
+ return false
8315
+ }
8316
+ }
8317
+
8318
+ // Defines values for PersonalEnvironmentActionRequestAction.
8319
+ const (
8320
+ Reconcile PersonalEnvironmentActionRequestAction = "reconcile"
8321
+ Sleep PersonalEnvironmentActionRequestAction = "sleep"
8322
+ Wake PersonalEnvironmentActionRequestAction = "wake"
8323
+ )
8324
+
8325
+ // Valid indicates whether the value is a known member of the PersonalEnvironmentActionRequestAction enum.
8326
+ func (e PersonalEnvironmentActionRequestAction) Valid() bool {
8327
+ switch e {
8328
+ case Reconcile:
8329
+ return true
8330
+ case Sleep:
8331
+ return true
8332
+ case Wake:
8333
+ return true
8334
+ default:
8335
+ return false
8336
+ }
8337
+ }
8338
+
8339
+ // Defines values for PersonalEnvironmentTemplateBackend.
8340
+ const (
8341
+ Container PersonalEnvironmentTemplateBackend = "container"
8342
+ VM PersonalEnvironmentTemplateBackend = "vm"
8343
+ )
8344
+
8345
+ // Valid indicates whether the value is a known member of the PersonalEnvironmentTemplateBackend enum.
8346
+ func (e PersonalEnvironmentTemplateBackend) Valid() bool {
8347
+ switch e {
8348
+ case Container:
8349
+ return true
8350
+ case VM:
8351
+ return true
8352
+ default:
8353
+ return false
8354
+ }
8355
+ }
8356
+
8357
+ // Defines values for PersonalEnvironmentTemplateMode.
8358
+ const (
8359
+ ObserveOnly PersonalEnvironmentTemplateMode = "observe-only"
8360
+ RestrictedWrite PersonalEnvironmentTemplateMode = "restricted-write"
8361
+ )
8362
+
8363
+ // Valid indicates whether the value is a known member of the PersonalEnvironmentTemplateMode enum.
8364
+ func (e PersonalEnvironmentTemplateMode) Valid() bool {
8365
+ switch e {
8366
+ case ObserveOnly:
8367
+ return true
8368
+ case RestrictedWrite:
8369
+ return true
8370
+ default:
8371
+ return false
8372
+ }
8373
+ }
8374
+
8375
+ // Defines values for PersonalEnvironmentTemplateProvider.
8376
+ const (
8377
+ PersonalEnvironmentTemplateProviderDocker PersonalEnvironmentTemplateProvider = "docker"
8378
+ PersonalEnvironmentTemplateProviderKubevirt PersonalEnvironmentTemplateProvider = "kubevirt"
8379
+ PersonalEnvironmentTemplateProviderPve PersonalEnvironmentTemplateProvider = "pve"
8380
+ )
8381
+
8382
+ // Valid indicates whether the value is a known member of the PersonalEnvironmentTemplateProvider enum.
8383
+ func (e PersonalEnvironmentTemplateProvider) Valid() bool {
8384
+ switch e {
8385
+ case PersonalEnvironmentTemplateProviderDocker:
8386
+ return true
8387
+ case PersonalEnvironmentTemplateProviderKubevirt:
8388
+ return true
8389
+ case PersonalEnvironmentTemplateProviderPve:
8390
+ return true
8391
+ default:
8392
+ return false
8393
+ }
8394
+ }
8395
+
8396
+ // Defines values for PersonalFeedPageState.
8397
+ const (
8398
+ PersonalFeedPageStateFailed PersonalFeedPageState = "failed"
8399
+ PersonalFeedPageStateIdle PersonalFeedPageState = "idle"
8400
+ PersonalFeedPageStateQueued PersonalFeedPageState = "queued"
8401
+ PersonalFeedPageStateRunning PersonalFeedPageState = "running"
8402
+ )
8403
+
8404
+ // Valid indicates whether the value is a known member of the PersonalFeedPageState enum.
8405
+ func (e PersonalFeedPageState) Valid() bool {
8406
+ switch e {
8407
+ case PersonalFeedPageStateFailed:
8408
+ return true
8409
+ case PersonalFeedPageStateIdle:
8410
+ return true
8411
+ case PersonalFeedPageStateQueued:
8412
+ return true
8413
+ case PersonalFeedPageStateRunning:
8414
+ return true
8415
+ default:
8416
+ return false
8417
+ }
8418
+ }
8419
+
8420
+ // Defines values for PersonalGuestRuntimeKind.
8421
+ const (
8422
+ PersonalGuestRuntimeKindBrowser PersonalGuestRuntimeKind = "browser"
8423
+ PersonalGuestRuntimeKindDocker PersonalGuestRuntimeKind = "docker"
8424
+ PersonalGuestRuntimeKindExecute PersonalGuestRuntimeKind = "execute"
8425
+ PersonalGuestRuntimeKindFileRead PersonalGuestRuntimeKind = "file_read"
8426
+ PersonalGuestRuntimeKindFileWrite PersonalGuestRuntimeKind = "file_write"
8427
+ )
8428
+
8429
+ // Valid indicates whether the value is a known member of the PersonalGuestRuntimeKind enum.
8430
+ func (e PersonalGuestRuntimeKind) Valid() bool {
8431
+ switch e {
8432
+ case PersonalGuestRuntimeKindBrowser:
8433
+ return true
8434
+ case PersonalGuestRuntimeKindDocker:
8435
+ return true
8436
+ case PersonalGuestRuntimeKindExecute:
8437
+ return true
8438
+ case PersonalGuestRuntimeKindFileRead:
8439
+ return true
8440
+ case PersonalGuestRuntimeKindFileWrite:
8441
+ return true
8442
+ default:
8443
+ return false
8444
+ }
8445
+ }
8446
+
8447
+ // Defines values for PersonalGuestRuntimeStatus.
8448
+ const (
8449
+ PersonalGuestRuntimeStatusCanceled PersonalGuestRuntimeStatus = "canceled"
8450
+ PersonalGuestRuntimeStatusFailed PersonalGuestRuntimeStatus = "failed"
8451
+ PersonalGuestRuntimeStatusQueued PersonalGuestRuntimeStatus = "queued"
8452
+ PersonalGuestRuntimeStatusRunning PersonalGuestRuntimeStatus = "running"
8453
+ PersonalGuestRuntimeStatusSucceeded PersonalGuestRuntimeStatus = "succeeded"
8454
+ PersonalGuestRuntimeStatusUnknown PersonalGuestRuntimeStatus = "unknown"
8455
+ )
8456
+
8457
+ // Valid indicates whether the value is a known member of the PersonalGuestRuntimeStatus enum.
8458
+ func (e PersonalGuestRuntimeStatus) Valid() bool {
8459
+ switch e {
8460
+ case PersonalGuestRuntimeStatusCanceled:
8461
+ return true
8462
+ case PersonalGuestRuntimeStatusFailed:
8463
+ return true
8464
+ case PersonalGuestRuntimeStatusQueued:
8465
+ return true
8466
+ case PersonalGuestRuntimeStatusRunning:
8467
+ return true
8468
+ case PersonalGuestRuntimeStatusSucceeded:
8469
+ return true
8470
+ case PersonalGuestRuntimeStatusUnknown:
8471
+ return true
8472
+ default:
8473
+ return false
8474
+ }
8475
+ }
8476
+
8477
+ // Defines values for PersonalGuestRuntimeInputBrowserAction.
8478
+ const (
8479
+ Acquire PersonalGuestRuntimeInputBrowserAction = "acquire"
8480
+ Click PersonalGuestRuntimeInputBrowserAction = "click"
8481
+ Navigate PersonalGuestRuntimeInputBrowserAction = "navigate"
8482
+ Pointer PersonalGuestRuntimeInputBrowserAction = "pointer"
8483
+ Release PersonalGuestRuntimeInputBrowserAction = "release"
8484
+ Return PersonalGuestRuntimeInputBrowserAction = "return"
8485
+ Snapshot PersonalGuestRuntimeInputBrowserAction = "snapshot"
8486
+ Takeover PersonalGuestRuntimeInputBrowserAction = "takeover"
8487
+ Type PersonalGuestRuntimeInputBrowserAction = "type"
8488
+ )
8489
+
8490
+ // Valid indicates whether the value is a known member of the PersonalGuestRuntimeInputBrowserAction enum.
8491
+ func (e PersonalGuestRuntimeInputBrowserAction) Valid() bool {
8492
+ switch e {
8493
+ case Acquire:
8494
+ return true
8495
+ case Click:
8496
+ return true
8497
+ case Navigate:
8498
+ return true
8499
+ case Pointer:
8500
+ return true
8501
+ case Release:
8502
+ return true
8503
+ case Return:
8504
+ return true
8505
+ case Snapshot:
8506
+ return true
8507
+ case Takeover:
8508
+ return true
8509
+ case Type:
8510
+ return true
8511
+ default:
8512
+ return false
8513
+ }
8514
+ }
8515
+
8516
+ // Defines values for PersonalGuestRuntimeInputKind.
8517
+ const (
8518
+ Browser PersonalGuestRuntimeInputKind = "browser"
8519
+ Docker PersonalGuestRuntimeInputKind = "docker"
8520
+ Execute PersonalGuestRuntimeInputKind = "execute"
8521
+ FileRead PersonalGuestRuntimeInputKind = "file_read"
8522
+ FileWrite PersonalGuestRuntimeInputKind = "file_write"
8523
+ )
8524
+
8525
+ // Valid indicates whether the value is a known member of the PersonalGuestRuntimeInputKind enum.
8526
+ func (e PersonalGuestRuntimeInputKind) Valid() bool {
8527
+ switch e {
8528
+ case Browser:
8529
+ return true
8530
+ case Docker:
8531
+ return true
8532
+ case Execute:
8533
+ return true
8534
+ case FileRead:
8535
+ return true
8536
+ case FileWrite:
8537
+ return true
8538
+ default:
8539
+ return false
8540
+ }
8541
+ }
8542
+
8543
+ // Defines values for PersonalVMEnvironmentPolicyProvider.
8544
+ const (
8545
+ PersonalVMEnvironmentPolicyProviderPve PersonalVMEnvironmentPolicyProvider = "pve"
8546
+ )
8547
+
8548
+ // Valid indicates whether the value is a known member of the PersonalVMEnvironmentPolicyProvider enum.
8549
+ func (e PersonalVMEnvironmentPolicyProvider) Valid() bool {
8550
+ switch e {
8551
+ case PersonalVMEnvironmentPolicyProviderPve:
8552
+ return true
8553
+ default:
8554
+ return false
8555
+ }
8556
+ }
8557
+
8558
+ // Defines values for PersonalWorkspaceRuntimeBrowserControlOwner.
8559
+ const (
8560
+ PersonalWorkspaceRuntimeBrowserControlOwnerAgent PersonalWorkspaceRuntimeBrowserControlOwner = "agent"
8561
+ PersonalWorkspaceRuntimeBrowserControlOwnerReleased PersonalWorkspaceRuntimeBrowserControlOwner = "released"
8562
+ PersonalWorkspaceRuntimeBrowserControlOwnerUser PersonalWorkspaceRuntimeBrowserControlOwner = "user"
8563
+ )
8564
+
8565
+ // Valid indicates whether the value is a known member of the PersonalWorkspaceRuntimeBrowserControlOwner enum.
8566
+ func (e PersonalWorkspaceRuntimeBrowserControlOwner) Valid() bool {
8567
+ switch e {
8568
+ case PersonalWorkspaceRuntimeBrowserControlOwnerAgent:
8569
+ return true
8570
+ case PersonalWorkspaceRuntimeBrowserControlOwnerReleased:
8571
+ return true
8572
+ case PersonalWorkspaceRuntimeBrowserControlOwnerUser:
8573
+ return true
8574
+ default:
8575
+ return false
8576
+ }
8577
+ }
8578
+
7943
8579
  // Defines values for PlatformAuditLogResult.
7944
8580
  const (
7945
8581
  PlatformAuditLogResultDeny PlatformAuditLogResult = "deny"
@@ -8509,19 +9145,19 @@ func (e RuntimeConfigValueType) Valid() bool {
8509
9145
 
8510
9146
  // Defines values for RuntimeNetworkUsageScope.
8511
9147
  const (
8512
- NetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
8513
- Process RuntimeNetworkUsageScope = "process"
8514
- Unavailable RuntimeNetworkUsageScope = "unavailable"
9148
+ RuntimeNetworkUsageScopeNetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
9149
+ RuntimeNetworkUsageScopeProcess RuntimeNetworkUsageScope = "process"
9150
+ RuntimeNetworkUsageScopeUnavailable RuntimeNetworkUsageScope = "unavailable"
8515
9151
  )
8516
9152
 
8517
9153
  // Valid indicates whether the value is a known member of the RuntimeNetworkUsageScope enum.
8518
9154
  func (e RuntimeNetworkUsageScope) Valid() bool {
8519
9155
  switch e {
8520
- case NetworkNamespace:
9156
+ case RuntimeNetworkUsageScopeNetworkNamespace:
8521
9157
  return true
8522
- case Process:
9158
+ case RuntimeNetworkUsageScopeProcess:
8523
9159
  return true
8524
- case Unavailable:
9160
+ case RuntimeNetworkUsageScopeUnavailable:
8525
9161
  return true
8526
9162
  default:
8527
9163
  return false
@@ -8668,6 +9304,8 @@ const (
8668
9304
  SecretBindingCapability SecretBindingTargetType = "capability"
8669
9305
  SecretBindingConnection SecretBindingTargetType = "connection"
8670
9306
  SecretBindingProject SecretBindingTargetType = "project"
9307
+ SecretBindingVM SecretBindingTargetType = "vm"
9308
+ SecretBindingVMCreate SecretBindingTargetType = "vm_create"
8671
9309
  )
8672
9310
 
8673
9311
  // Valid indicates whether the value is a known member of the SecretBindingTargetType enum.
@@ -8679,6 +9317,55 @@ func (e SecretBindingTargetType) Valid() bool {
8679
9317
  return true
8680
9318
  case SecretBindingProject:
8681
9319
  return true
9320
+ case SecretBindingVM:
9321
+ return true
9322
+ case SecretBindingVMCreate:
9323
+ return true
9324
+ default:
9325
+ return false
9326
+ }
9327
+ }
9328
+
9329
+ // Defines values for SecretKind.
9330
+ const (
9331
+ SecretKindOpaque SecretKind = "opaque"
9332
+ SecretKindSSHKeypair SecretKind = "ssh_keypair"
9333
+ SecretKindSSHPassword SecretKind = "ssh_password"
9334
+ SecretKindSSHPublicKey SecretKind = "ssh_public_key"
9335
+ )
9336
+
9337
+ // Valid indicates whether the value is a known member of the SecretKind enum.
9338
+ func (e SecretKind) Valid() bool {
9339
+ switch e {
9340
+ case SecretKindOpaque:
9341
+ return true
9342
+ case SecretKindSSHKeypair:
9343
+ return true
9344
+ case SecretKindSSHPassword:
9345
+ return true
9346
+ case SecretKindSSHPublicKey:
9347
+ return true
9348
+ default:
9349
+ return false
9350
+ }
9351
+ }
9352
+
9353
+ // Defines values for SecretPurpose.
9354
+ const (
9355
+ SecretPurposeVMAuth SecretPurpose = "vm_auth"
9356
+ SecretPurposeVMCloudInit SecretPurpose = "vm_cloud_init"
9357
+ SecretPurposeVMExec SecretPurpose = "vm_exec"
9358
+ )
9359
+
9360
+ // Valid indicates whether the value is a known member of the SecretPurpose enum.
9361
+ func (e SecretPurpose) Valid() bool {
9362
+ switch e {
9363
+ case SecretPurposeVMAuth:
9364
+ return true
9365
+ case SecretPurposeVMCloudInit:
9366
+ return true
9367
+ case SecretPurposeVMExec:
9368
+ return true
8682
9369
  default:
8683
9370
  return false
8684
9371
  }
@@ -9047,6 +9734,27 @@ func (e UserProfileAvatarFit) Valid() bool {
9047
9734
  }
9048
9735
  }
9049
9736
 
9737
+ // Defines values for VirtualMachineAccessBindingStatus.
9738
+ const (
9739
+ VirtualMachineAccessBindingStatusReady VirtualMachineAccessBindingStatus = "ready"
9740
+ VirtualMachineAccessBindingStatusStale VirtualMachineAccessBindingStatus = "stale"
9741
+ VirtualMachineAccessBindingStatusUnavailable VirtualMachineAccessBindingStatus = "unavailable"
9742
+ )
9743
+
9744
+ // Valid indicates whether the value is a known member of the VirtualMachineAccessBindingStatus enum.
9745
+ func (e VirtualMachineAccessBindingStatus) Valid() bool {
9746
+ switch e {
9747
+ case VirtualMachineAccessBindingStatusReady:
9748
+ return true
9749
+ case VirtualMachineAccessBindingStatusStale:
9750
+ return true
9751
+ case VirtualMachineAccessBindingStatusUnavailable:
9752
+ return true
9753
+ default:
9754
+ return false
9755
+ }
9756
+ }
9757
+
9050
9758
  // Defines values for VirtualMachineActionInputAction.
9051
9759
  const (
9052
9760
  VirtualMachineActionInputActionDelete VirtualMachineActionInputAction = "delete"
@@ -9098,6 +9806,204 @@ func (e VirtualMachinePowerInputAction) Valid() bool {
9098
9806
  }
9099
9807
  }
9100
9808
 
9809
+ // Defines values for VirtualMachineSSHCommandOutcome.
9810
+ const (
9811
+ VirtualMachineSSHCommandOutcomeCanceled VirtualMachineSSHCommandOutcome = "canceled"
9812
+ VirtualMachineSSHCommandOutcomeFailed VirtualMachineSSHCommandOutcome = "failed"
9813
+ VirtualMachineSSHCommandOutcomeSucceeded VirtualMachineSSHCommandOutcome = "succeeded"
9814
+ VirtualMachineSSHCommandOutcomeUnknown VirtualMachineSSHCommandOutcome = "unknown"
9815
+ )
9816
+
9817
+ // Valid indicates whether the value is a known member of the VirtualMachineSSHCommandOutcome enum.
9818
+ func (e VirtualMachineSSHCommandOutcome) Valid() bool {
9819
+ switch e {
9820
+ case VirtualMachineSSHCommandOutcomeCanceled:
9821
+ return true
9822
+ case VirtualMachineSSHCommandOutcomeFailed:
9823
+ return true
9824
+ case VirtualMachineSSHCommandOutcomeSucceeded:
9825
+ return true
9826
+ case VirtualMachineSSHCommandOutcomeUnknown:
9827
+ return true
9828
+ default:
9829
+ return false
9830
+ }
9831
+ }
9832
+
9833
+ // Defines values for VirtualMachineSSHFrameDataEncoding.
9834
+ const (
9835
+ VirtualMachineSSHFrameDataEncodingBase64 VirtualMachineSSHFrameDataEncoding = "base64"
9836
+ VirtualMachineSSHFrameDataEncodingUTF8 VirtualMachineSSHFrameDataEncoding = "utf8"
9837
+ )
9838
+
9839
+ // Valid indicates whether the value is a known member of the VirtualMachineSSHFrameDataEncoding enum.
9840
+ func (e VirtualMachineSSHFrameDataEncoding) Valid() bool {
9841
+ switch e {
9842
+ case VirtualMachineSSHFrameDataEncodingBase64:
9843
+ return true
9844
+ case VirtualMachineSSHFrameDataEncodingUTF8:
9845
+ return true
9846
+ default:
9847
+ return false
9848
+ }
9849
+ }
9850
+
9851
+ // Defines values for VirtualMachineSSHFrameType.
9852
+ const (
9853
+ VirtualMachineSSHFrameTypeClose VirtualMachineSSHFrameType = "close"
9854
+ VirtualMachineSSHFrameTypeError VirtualMachineSSHFrameType = "error"
9855
+ VirtualMachineSSHFrameTypeInput VirtualMachineSSHFrameType = "input"
9856
+ VirtualMachineSSHFrameTypeOutput VirtualMachineSSHFrameType = "output"
9857
+ VirtualMachineSSHFrameTypeResize VirtualMachineSSHFrameType = "resize"
9858
+ )
9859
+
9860
+ // Valid indicates whether the value is a known member of the VirtualMachineSSHFrameType enum.
9861
+ func (e VirtualMachineSSHFrameType) Valid() bool {
9862
+ switch e {
9863
+ case VirtualMachineSSHFrameTypeClose:
9864
+ return true
9865
+ case VirtualMachineSSHFrameTypeError:
9866
+ return true
9867
+ case VirtualMachineSSHFrameTypeInput:
9868
+ return true
9869
+ case VirtualMachineSSHFrameTypeOutput:
9870
+ return true
9871
+ case VirtualMachineSSHFrameTypeResize:
9872
+ return true
9873
+ default:
9874
+ return false
9875
+ }
9876
+ }
9877
+
9878
+ // Defines values for VirtualMachineSSHSessionStatus.
9879
+ const (
9880
+ VirtualMachineSSHSessionStatusActive VirtualMachineSSHSessionStatus = "active"
9881
+ VirtualMachineSSHSessionStatusClosed VirtualMachineSSHSessionStatus = "closed"
9882
+ VirtualMachineSSHSessionStatusPending VirtualMachineSSHSessionStatus = "pending"
9883
+ VirtualMachineSSHSessionStatusRevoked VirtualMachineSSHSessionStatus = "revoked"
9884
+ VirtualMachineSSHSessionStatusUnknown VirtualMachineSSHSessionStatus = "unknown"
9885
+ )
9886
+
9887
+ // Valid indicates whether the value is a known member of the VirtualMachineSSHSessionStatus enum.
9888
+ func (e VirtualMachineSSHSessionStatus) Valid() bool {
9889
+ switch e {
9890
+ case VirtualMachineSSHSessionStatusActive:
9891
+ return true
9892
+ case VirtualMachineSSHSessionStatusClosed:
9893
+ return true
9894
+ case VirtualMachineSSHSessionStatusPending:
9895
+ return true
9896
+ case VirtualMachineSSHSessionStatusRevoked:
9897
+ return true
9898
+ case VirtualMachineSSHSessionStatusUnknown:
9899
+ return true
9900
+ default:
9901
+ return false
9902
+ }
9903
+ }
9904
+
9905
+ // Defines values for VirtualizationCapacityCheckDiagnosticCheck.
9906
+ const (
9907
+ VirtualizationCapacityCheckDiagnosticCheckBudget VirtualizationCapacityCheckDiagnosticCheck = "budget"
9908
+ VirtualizationCapacityCheckDiagnosticCheckRuntime VirtualizationCapacityCheckDiagnosticCheck = "runtime"
9909
+ VirtualizationCapacityCheckDiagnosticCheckStorage VirtualizationCapacityCheckDiagnosticCheck = "storage"
9910
+ )
9911
+
9912
+ // Valid indicates whether the value is a known member of the VirtualizationCapacityCheckDiagnosticCheck enum.
9913
+ func (e VirtualizationCapacityCheckDiagnosticCheck) Valid() bool {
9914
+ switch e {
9915
+ case VirtualizationCapacityCheckDiagnosticCheckBudget:
9916
+ return true
9917
+ case VirtualizationCapacityCheckDiagnosticCheckRuntime:
9918
+ return true
9919
+ case VirtualizationCapacityCheckDiagnosticCheckStorage:
9920
+ return true
9921
+ default:
9922
+ return false
9923
+ }
9924
+ }
9925
+
9926
+ // Defines values for VirtualizationCapacityCheckDiagnosticDimension.
9927
+ const (
9928
+ VirtualizationCapacityCheckDiagnosticDimensionCPU VirtualizationCapacityCheckDiagnosticDimension = "cpu"
9929
+ VirtualizationCapacityCheckDiagnosticDimensionDisk VirtualizationCapacityCheckDiagnosticDimension = "disk"
9930
+ VirtualizationCapacityCheckDiagnosticDimensionMemory VirtualizationCapacityCheckDiagnosticDimension = "memory"
9931
+ )
9932
+
9933
+ // Valid indicates whether the value is a known member of the VirtualizationCapacityCheckDiagnosticDimension enum.
9934
+ func (e VirtualizationCapacityCheckDiagnosticDimension) Valid() bool {
9935
+ switch e {
9936
+ case VirtualizationCapacityCheckDiagnosticDimensionCPU:
9937
+ return true
9938
+ case VirtualizationCapacityCheckDiagnosticDimensionDisk:
9939
+ return true
9940
+ case VirtualizationCapacityCheckDiagnosticDimensionMemory:
9941
+ return true
9942
+ default:
9943
+ return false
9944
+ }
9945
+ }
9946
+
9947
+ // Defines values for VirtualizationCapacityCheckDiagnosticStatus.
9948
+ const (
9949
+ VirtualizationCapacityCheckDiagnosticStatusAvailable VirtualizationCapacityCheckDiagnosticStatus = "available"
9950
+ VirtualizationCapacityCheckDiagnosticStatusUnavailable VirtualizationCapacityCheckDiagnosticStatus = "unavailable"
9951
+ VirtualizationCapacityCheckDiagnosticStatusUnknown VirtualizationCapacityCheckDiagnosticStatus = "unknown"
9952
+ )
9953
+
9954
+ // Valid indicates whether the value is a known member of the VirtualizationCapacityCheckDiagnosticStatus enum.
9955
+ func (e VirtualizationCapacityCheckDiagnosticStatus) Valid() bool {
9956
+ switch e {
9957
+ case VirtualizationCapacityCheckDiagnosticStatusAvailable:
9958
+ return true
9959
+ case VirtualizationCapacityCheckDiagnosticStatusUnavailable:
9960
+ return true
9961
+ case VirtualizationCapacityCheckDiagnosticStatusUnknown:
9962
+ return true
9963
+ default:
9964
+ return false
9965
+ }
9966
+ }
9967
+
9968
+ // Defines values for VirtualizationCapacityPolicyInputMode.
9969
+ const (
9970
+ CapacityPolicyInputEnforced VirtualizationCapacityPolicyInputMode = "enforced"
9971
+ CapacityPolicyInputObserving VirtualizationCapacityPolicyInputMode = "observing"
9972
+ )
9973
+
9974
+ // Valid indicates whether the value is a known member of the VirtualizationCapacityPolicyInputMode enum.
9975
+ func (e VirtualizationCapacityPolicyInputMode) Valid() bool {
9976
+ switch e {
9977
+ case CapacityPolicyInputEnforced:
9978
+ return true
9979
+ case CapacityPolicyInputObserving:
9980
+ return true
9981
+ default:
9982
+ return false
9983
+ }
9984
+ }
9985
+
9986
+ // Defines values for VirtualizationCapacityPolicyMode.
9987
+ const (
9988
+ CapacityPolicyEnforced VirtualizationCapacityPolicyMode = "enforced"
9989
+ CapacityPolicyObserving VirtualizationCapacityPolicyMode = "observing"
9990
+ CapacityPolicyUnconfigured VirtualizationCapacityPolicyMode = "unconfigured"
9991
+ )
9992
+
9993
+ // Valid indicates whether the value is a known member of the VirtualizationCapacityPolicyMode enum.
9994
+ func (e VirtualizationCapacityPolicyMode) Valid() bool {
9995
+ switch e {
9996
+ case CapacityPolicyEnforced:
9997
+ return true
9998
+ case CapacityPolicyObserving:
9999
+ return true
10000
+ case CapacityPolicyUnconfigured:
10001
+ return true
10002
+ default:
10003
+ return false
10004
+ }
10005
+ }
10006
+
9101
10007
  // Defines values for VirtualizationCapacityResultStatus.
9102
10008
  const (
9103
10009
  VirtualizationCapacityResultStatusAvailable VirtualizationCapacityResultStatus = "available"
@@ -9139,16 +10045,16 @@ func (e VirtualizationConnectionProvider) Valid() bool {
9139
10045
 
9140
10046
  // Defines values for VirtualizationConnectionInputProvider.
9141
10047
  const (
9142
- VirtualizationConnectionInputProviderKubevirt VirtualizationConnectionInputProvider = "kubevirt"
9143
- VirtualizationConnectionInputProviderPve VirtualizationConnectionInputProvider = "pve"
10048
+ Kubevirt VirtualizationConnectionInputProvider = "kubevirt"
10049
+ Pve VirtualizationConnectionInputProvider = "pve"
9144
10050
  )
9145
10051
 
9146
10052
  // Valid indicates whether the value is a known member of the VirtualizationConnectionInputProvider enum.
9147
10053
  func (e VirtualizationConnectionInputProvider) Valid() bool {
9148
10054
  switch e {
9149
- case VirtualizationConnectionInputProviderKubevirt:
10055
+ case Kubevirt:
9150
10056
  return true
9151
- case VirtualizationConnectionInputProviderPve:
10057
+ case Pve:
9152
10058
  return true
9153
10059
  default:
9154
10060
  return false
@@ -9185,6 +10091,24 @@ func (e VirtualizationWorkerPoolSpecOwner) Valid() bool {
9185
10091
  }
9186
10092
  }
9187
10093
 
10094
+ // Defines values for WorkbenchAgentRunExecutionOwner.
10095
+ const (
10096
+ External WorkbenchAgentRunExecutionOwner = "external"
10097
+ Native WorkbenchAgentRunExecutionOwner = "native"
10098
+ )
10099
+
10100
+ // Valid indicates whether the value is a known member of the WorkbenchAgentRunExecutionOwner enum.
10101
+ func (e WorkbenchAgentRunExecutionOwner) Valid() bool {
10102
+ switch e {
10103
+ case External:
10104
+ return true
10105
+ case Native:
10106
+ return true
10107
+ default:
10108
+ return false
10109
+ }
10110
+ }
10111
+
9188
10112
  // Defines values for WorkbenchAgentStatusEventProviderKind.
9189
10113
  const (
9190
10114
  WorkbenchAgentStatusEventProviderKindAnthropic WorkbenchAgentStatusEventProviderKind = "anthropic"
@@ -9195,6 +10119,7 @@ const (
9195
10119
  WorkbenchAgentStatusEventProviderKindGeneral WorkbenchAgentStatusEventProviderKind = "general"
9196
10120
  WorkbenchAgentStatusEventProviderKindHermes WorkbenchAgentStatusEventProviderKind = "hermes"
9197
10121
  WorkbenchAgentStatusEventProviderKindInternal WorkbenchAgentStatusEventProviderKind = "internal"
10122
+ WorkbenchAgentStatusEventProviderKindNative WorkbenchAgentStatusEventProviderKind = "native"
9198
10123
  WorkbenchAgentStatusEventProviderKindOpenai WorkbenchAgentStatusEventProviderKind = "openai"
9199
10124
  WorkbenchAgentStatusEventProviderKindOpenaiCompatible WorkbenchAgentStatusEventProviderKind = "openai-compatible"
9200
10125
  WorkbenchAgentStatusEventProviderKindOpenclaw WorkbenchAgentStatusEventProviderKind = "openclaw"
@@ -9221,6 +10146,8 @@ func (e WorkbenchAgentStatusEventProviderKind) Valid() bool {
9221
10146
  return true
9222
10147
  case WorkbenchAgentStatusEventProviderKindInternal:
9223
10148
  return true
10149
+ case WorkbenchAgentStatusEventProviderKindNative:
10150
+ return true
9224
10151
  case WorkbenchAgentStatusEventProviderKindOpenai:
9225
10152
  return true
9226
10153
  case WorkbenchAgentStatusEventProviderKindOpenaiCompatible:
@@ -9238,25 +10165,25 @@ func (e WorkbenchAgentStatusEventProviderKind) Valid() bool {
9238
10165
 
9239
10166
  // Defines values for WorkbenchAgentStatusEventStatus.
9240
10167
  const (
9241
- Cancelled WorkbenchAgentStatusEventStatus = "cancelled"
9242
- Failed WorkbenchAgentStatusEventStatus = "failed"
9243
- Queued WorkbenchAgentStatusEventStatus = "queued"
9244
- Running WorkbenchAgentStatusEventStatus = "running"
9245
- Succeeded WorkbenchAgentStatusEventStatus = "succeeded"
10168
+ WorkbenchAgentStatusEventStatusCancelled WorkbenchAgentStatusEventStatus = "cancelled"
10169
+ WorkbenchAgentStatusEventStatusFailed WorkbenchAgentStatusEventStatus = "failed"
10170
+ WorkbenchAgentStatusEventStatusQueued WorkbenchAgentStatusEventStatus = "queued"
10171
+ WorkbenchAgentStatusEventStatusRunning WorkbenchAgentStatusEventStatus = "running"
10172
+ WorkbenchAgentStatusEventStatusSucceeded WorkbenchAgentStatusEventStatus = "succeeded"
9246
10173
  )
9247
10174
 
9248
10175
  // Valid indicates whether the value is a known member of the WorkbenchAgentStatusEventStatus enum.
9249
10176
  func (e WorkbenchAgentStatusEventStatus) Valid() bool {
9250
10177
  switch e {
9251
- case Cancelled:
10178
+ case WorkbenchAgentStatusEventStatusCancelled:
9252
10179
  return true
9253
- case Failed:
10180
+ case WorkbenchAgentStatusEventStatusFailed:
9254
10181
  return true
9255
- case Queued:
10182
+ case WorkbenchAgentStatusEventStatusQueued:
9256
10183
  return true
9257
- case Running:
10184
+ case WorkbenchAgentStatusEventStatusRunning:
9258
10185
  return true
9259
- case Succeeded:
10186
+ case WorkbenchAgentStatusEventStatusSucceeded:
9260
10187
  return true
9261
10188
  default:
9262
10189
  return false
@@ -9293,6 +10220,24 @@ func (e WorkbenchArtifactUpdatedEventType) Valid() bool {
9293
10220
  }
9294
10221
  }
9295
10222
 
10223
+ // Defines values for WorkbenchAssistantTaskKind.
10224
+ const (
10225
+ Avatar WorkbenchAssistantTaskKind = "avatar"
10226
+ Undo WorkbenchAssistantTaskKind = "undo"
10227
+ )
10228
+
10229
+ // Valid indicates whether the value is a known member of the WorkbenchAssistantTaskKind enum.
10230
+ func (e WorkbenchAssistantTaskKind) Valid() bool {
10231
+ switch e {
10232
+ case Avatar:
10233
+ return true
10234
+ case Undo:
10235
+ return true
10236
+ default:
10237
+ return false
10238
+ }
10239
+ }
10240
+
9296
10241
  // Defines values for WorkbenchCardCommandEventType.
9297
10242
  const (
9298
10243
  WorkbenchCardCommandEventTypeCardCommand WorkbenchCardCommandEventType = "card.command"
@@ -9536,6 +10481,24 @@ func (e WorkbenchMessageDoneEventType) Valid() bool {
9536
10481
  }
9537
10482
  }
9538
10483
 
10484
+ // Defines values for WorkbenchMessageSearchHitRole.
10485
+ const (
10486
+ WorkbenchMessageSearchHitRoleAssistant WorkbenchMessageSearchHitRole = "assistant"
10487
+ WorkbenchMessageSearchHitRoleUser WorkbenchMessageSearchHitRole = "user"
10488
+ )
10489
+
10490
+ // Valid indicates whether the value is a known member of the WorkbenchMessageSearchHitRole enum.
10491
+ func (e WorkbenchMessageSearchHitRole) Valid() bool {
10492
+ switch e {
10493
+ case WorkbenchMessageSearchHitRoleAssistant:
10494
+ return true
10495
+ case WorkbenchMessageSearchHitRoleUser:
10496
+ return true
10497
+ default:
10498
+ return false
10499
+ }
10500
+ }
10501
+
9539
10502
  // Defines values for WorkbenchModelOptionReasoningEfforts.
9540
10503
  const (
9541
10504
  WorkbenchModelOptionReasoningEffortsHigh WorkbenchModelOptionReasoningEfforts = "high"
@@ -9632,6 +10595,30 @@ func (e WorkbenchSessionActivity) Valid() bool {
9632
10595
  }
9633
10596
  }
9634
10597
 
10598
+ // Defines values for WorkbenchSessionMetadataConversationKind.
10599
+ const (
10600
+ Main WorkbenchSessionMetadataConversationKind = "main"
10601
+ PersonalMain WorkbenchSessionMetadataConversationKind = "personal_main"
10602
+ PersonalSide WorkbenchSessionMetadataConversationKind = "personal_side"
10603
+ Side WorkbenchSessionMetadataConversationKind = "side"
10604
+ )
10605
+
10606
+ // Valid indicates whether the value is a known member of the WorkbenchSessionMetadataConversationKind enum.
10607
+ func (e WorkbenchSessionMetadataConversationKind) Valid() bool {
10608
+ switch e {
10609
+ case Main:
10610
+ return true
10611
+ case PersonalMain:
10612
+ return true
10613
+ case PersonalSide:
10614
+ return true
10615
+ case Side:
10616
+ return true
10617
+ default:
10618
+ return false
10619
+ }
10620
+ }
10621
+
9635
10622
  // Defines values for WorkbenchSessionMetadataMode.
9636
10623
  const (
9637
10624
  WorkbenchSessionMetadataModeGeneral WorkbenchSessionMetadataMode = "general"
@@ -9707,6 +10694,30 @@ func (e WorkbenchSourceUpdatedEventType) Valid() bool {
9707
10694
  }
9708
10695
  }
9709
10696
 
10697
+ // Defines values for WorkbenchTaskIntentCapabilities.
10698
+ const (
10699
+ WorkbenchTaskIntentCapabilitiesInspectionReview WorkbenchTaskIntentCapabilities = "inspection_review"
10700
+ WorkbenchTaskIntentCapabilitiesPerformance WorkbenchTaskIntentCapabilities = "performance"
10701
+ WorkbenchTaskIntentCapabilitiesRootCause WorkbenchTaskIntentCapabilities = "root_cause"
10702
+ WorkbenchTaskIntentCapabilitiesTrace WorkbenchTaskIntentCapabilities = "trace"
10703
+ )
10704
+
10705
+ // Valid indicates whether the value is a known member of the WorkbenchTaskIntentCapabilities enum.
10706
+ func (e WorkbenchTaskIntentCapabilities) Valid() bool {
10707
+ switch e {
10708
+ case WorkbenchTaskIntentCapabilitiesInspectionReview:
10709
+ return true
10710
+ case WorkbenchTaskIntentCapabilitiesPerformance:
10711
+ return true
10712
+ case WorkbenchTaskIntentCapabilitiesRootCause:
10713
+ return true
10714
+ case WorkbenchTaskIntentCapabilitiesTrace:
10715
+ return true
10716
+ default:
10717
+ return false
10718
+ }
10719
+ }
10720
+
9710
10721
  // Defines values for WorkbenchThinkingDeltaEventType.
9711
10722
  const (
9712
10723
  WorkbenchThinkingDeltaEventTypeThinkingDelta WorkbenchThinkingDeltaEventType = "thinking.delta"
@@ -9811,25 +10822,25 @@ func (e WorkbenchToolStartedEventType) Valid() bool {
9811
10822
 
9812
10823
  // Defines values for WorkbenchUpdateSessionRequestMode.
9813
10824
  const (
9814
- General WorkbenchUpdateSessionRequestMode = "general"
9815
- InspectionReview WorkbenchUpdateSessionRequestMode = "inspection_review"
9816
- Performance WorkbenchUpdateSessionRequestMode = "performance"
9817
- RootCause WorkbenchUpdateSessionRequestMode = "root_cause"
9818
- Trace WorkbenchUpdateSessionRequestMode = "trace"
10825
+ WorkbenchUpdateSessionRequestModeGeneral WorkbenchUpdateSessionRequestMode = "general"
10826
+ WorkbenchUpdateSessionRequestModeInspectionReview WorkbenchUpdateSessionRequestMode = "inspection_review"
10827
+ WorkbenchUpdateSessionRequestModePerformance WorkbenchUpdateSessionRequestMode = "performance"
10828
+ WorkbenchUpdateSessionRequestModeRootCause WorkbenchUpdateSessionRequestMode = "root_cause"
10829
+ WorkbenchUpdateSessionRequestModeTrace WorkbenchUpdateSessionRequestMode = "trace"
9819
10830
  )
9820
10831
 
9821
10832
  // Valid indicates whether the value is a known member of the WorkbenchUpdateSessionRequestMode enum.
9822
10833
  func (e WorkbenchUpdateSessionRequestMode) Valid() bool {
9823
10834
  switch e {
9824
- case General:
10835
+ case WorkbenchUpdateSessionRequestModeGeneral:
9825
10836
  return true
9826
- case InspectionReview:
10837
+ case WorkbenchUpdateSessionRequestModeInspectionReview:
9827
10838
  return true
9828
- case Performance:
10839
+ case WorkbenchUpdateSessionRequestModePerformance:
9829
10840
  return true
9830
- case RootCause:
10841
+ case WorkbenchUpdateSessionRequestModeRootCause:
9831
10842
  return true
9832
- case Trace:
10843
+ case WorkbenchUpdateSessionRequestModeTrace:
9833
10844
  return true
9834
10845
  default:
9835
10846
  return false
@@ -10991,6 +12002,24 @@ func (e ListComputeTasksParamsSortOrder) Valid() bool {
10991
12002
  }
10992
12003
  }
10993
12004
 
12005
+ // Defines values for SearchWorkbenchMessagesParamsWorkspace.
12006
+ const (
12007
+ Chat SearchWorkbenchMessagesParamsWorkspace = "chat"
12008
+ Heya SearchWorkbenchMessagesParamsWorkspace = "heya"
12009
+ )
12010
+
12011
+ // Valid indicates whether the value is a known member of the SearchWorkbenchMessagesParamsWorkspace enum.
12012
+ func (e SearchWorkbenchMessagesParamsWorkspace) Valid() bool {
12013
+ switch e {
12014
+ case Chat:
12015
+ return true
12016
+ case Heya:
12017
+ return true
12018
+ default:
12019
+ return false
12020
+ }
12021
+ }
12022
+
10994
12023
  // Defines values for ExportDeliveryDocumentParamsFormat.
10995
12024
  const (
10996
12025
  JSON ExportDeliveryDocumentParamsFormat = "json"
@@ -11220,17 +12249,23 @@ type AIEnvironmentLeaseListEnvelope struct {
11220
12249
  Items []AIEnvironmentLease `json:"items"`
11221
12250
  }
11222
12251
 
11223
- // AIEnvironmentTemplate defines model for AIEnvironmentTemplate.
12252
+ // AIEnvironmentTemplate Personal policies are mutually exclusive and require matching container or vm backend, an ID of at most 128 characters, and empty legacy resourcePolicy/networkPolicy maps. VM backend requires personalVM; its quota cannot exceed the independent disk size. The server checks current resource scope and explicit owner assignment; saving configuration is not an environment readiness receipt.
11224
12253
  type AIEnvironmentTemplate struct {
11225
- Backend AIEnvironmentTemplateBackend `json:"backend"`
11226
- CreatedAt time.Time `json:"createdAt"`
11227
- ID string `json:"id"`
11228
- IsolationMode AIEnvironmentTemplateIsolationMode `json:"isolationMode"`
11229
- Name string `json:"name"`
11230
- NetworkPolicy map[string]any `json:"networkPolicy,omitempty"`
11231
- ResourcePolicy map[string]any `json:"resourcePolicy,omitempty"`
11232
- Status string `json:"status"`
11233
- UpdatedAt time.Time `json:"updatedAt"`
12254
+ Backend AIEnvironmentTemplateBackend `json:"backend"`
12255
+ CreatedAt time.Time `json:"createdAt"`
12256
+ ID string `json:"id"`
12257
+ IsolationMode AIEnvironmentTemplateIsolationMode `json:"isolationMode"`
12258
+ Name string `json:"name"`
12259
+ NetworkPolicy map[string]any `json:"networkPolicy,omitempty"`
12260
+
12261
+ // PersonalDocker Administrator-selected registered Agent connection and hard personal-data quota. No user-entered URL, Docker handle, image or credential. Only container templates can use this policy; existing bindings freeze it and cannot silently move or resize their data. Runtime readiness still requires real Agent receipts.
12262
+ PersonalDocker *PersonalDockerEnvironmentPolicy `json:"personalDocker,omitempty"`
12263
+
12264
+ // PersonalVM Administrator assignment of an existing Soha-managed PVE VM and independent data disk to one user. The server checks administrator VM access update scope and the current approved owner's VM view scope. Binding freezes fresh provider and disk identity; saving or binding does not initialize data or grant runtime readiness. No provider URL, credential, root disk or arbitrary device path is accepted.
12265
+ PersonalVM *PersonalVMEnvironmentPolicy `json:"personalVM,omitempty"`
12266
+ ResourcePolicy map[string]any `json:"resourcePolicy,omitempty"`
12267
+ Status string `json:"status"`
12268
+ UpdatedAt time.Time `json:"updatedAt"`
11234
12269
  }
11235
12270
 
11236
12271
  // AIEnvironmentTemplateBackend defines model for AIEnvironmentTemplate.Backend.
@@ -11241,17 +12276,24 @@ type AIEnvironmentTemplateIsolationMode string
11241
12276
 
11242
12277
  // AIEnvironmentTemplateEnvelope defines model for AIEnvironmentTemplateEnvelope.
11243
12278
  type AIEnvironmentTemplateEnvelope struct {
12279
+ // Data Personal policies are mutually exclusive and require matching container or vm backend, an ID of at most 128 characters, and empty legacy resourcePolicy/networkPolicy maps. VM backend requires personalVM; its quota cannot exceed the independent disk size. The server checks current resource scope and explicit owner assignment; saving configuration is not an environment readiness receipt.
11244
12280
  Data AIEnvironmentTemplate `json:"data"`
11245
12281
  }
11246
12282
 
11247
- // AIEnvironmentTemplateInput defines model for AIEnvironmentTemplateInput.
12283
+ // AIEnvironmentTemplateInput Personal policies are mutually exclusive and require matching container or vm backend, an ID of at most 128 characters, and empty legacy resourcePolicy/networkPolicy maps. VM backend requires personalVM; its quota cannot exceed the independent disk size. The server checks current resource scope and explicit owner assignment; saving configuration is not an environment readiness receipt.
11248
12284
  type AIEnvironmentTemplateInput struct {
11249
- Backend AIEnvironmentTemplateInputBackend `json:"backend"`
11250
- ID string `json:"id"`
11251
- IsolationMode AIEnvironmentTemplateInputIsolationMode `json:"isolationMode"`
11252
- Name string `json:"name"`
11253
- NetworkPolicy map[string]any `json:"networkPolicy,omitempty"`
11254
- ResourcePolicy map[string]any `json:"resourcePolicy,omitempty"`
12285
+ Backend AIEnvironmentTemplateInputBackend `json:"backend"`
12286
+ ID string `json:"id"`
12287
+ IsolationMode AIEnvironmentTemplateInputIsolationMode `json:"isolationMode"`
12288
+ Name string `json:"name"`
12289
+ NetworkPolicy map[string]any `json:"networkPolicy,omitempty"`
12290
+
12291
+ // PersonalDocker Administrator-selected registered Agent connection and hard personal-data quota. No user-entered URL, Docker handle, image or credential. Only container templates can use this policy; existing bindings freeze it and cannot silently move or resize their data. Runtime readiness still requires real Agent receipts.
12292
+ PersonalDocker *PersonalDockerEnvironmentPolicy `json:"personalDocker,omitempty"`
12293
+
12294
+ // PersonalVM Administrator assignment of an existing Soha-managed PVE VM and independent data disk to one user. The server checks administrator VM access update scope and the current approved owner's VM view scope. Binding freezes fresh provider and disk identity; saving or binding does not initialize data or grant runtime readiness. No provider URL, credential, root disk or arbitrary device path is accepted.
12295
+ PersonalVM *PersonalVMEnvironmentPolicy `json:"personalVM,omitempty"`
12296
+ ResourcePolicy map[string]any `json:"resourcePolicy,omitempty"`
11255
12297
  }
11256
12298
 
11257
12299
  // AIEnvironmentTemplateInputBackend defines model for AIEnvironmentTemplateInput.Backend.
@@ -11333,21 +12375,23 @@ type AIMemoryPolicyListEnvelope struct {
11333
12375
 
11334
12376
  // AIMemoryRecord defines model for AIMemoryRecord.
11335
12377
  type AIMemoryRecord struct {
11336
- Confidence float32 `json:"confidence"`
11337
- CreatedAt time.Time `json:"createdAt"`
11338
- DeletedAt *time.Time `json:"deletedAt,omitempty"`
11339
- ExpiresAt *time.Time `json:"expiresAt,omitempty"`
11340
- Fact string `json:"fact"`
11341
- ID string `json:"id"`
11342
- OwnerID string `json:"ownerId"`
11343
- OwnerType string `json:"ownerType"`
11344
- PolicyID string `json:"policyId,omitempty"`
11345
- PolicyVersion string `json:"policyVersion"`
11346
- ScopeHash string `json:"scopeHash"`
11347
- SourceRefs []string `json:"sourceRefs"`
11348
- SourceType AIMemoryRecordSourceType `json:"sourceType"`
11349
- Status string `json:"status"`
11350
- ValidFrom time.Time `json:"validFrom"`
12378
+ Confidence float32 `json:"confidence"`
12379
+ CreatedAt time.Time `json:"createdAt"`
12380
+ DeletedAt *time.Time `json:"deletedAt,omitempty"`
12381
+ ExpiresAt *time.Time `json:"expiresAt,omitempty"`
12382
+ Fact string `json:"fact"`
12383
+ ID string `json:"id"`
12384
+ OwnerID string `json:"ownerId"`
12385
+ OwnerType string `json:"ownerType"`
12386
+ PolicyID string `json:"policyId,omitempty"`
12387
+ PolicyVersion string `json:"policyVersion"`
12388
+ ScopeHash string `json:"scopeHash"`
12389
+
12390
+ // SourceRefs Source receipts. Workbench model context supports soha://session/<sessionId>/message/<messageId> and rechecks current ownership and source access. Unsupported historical references remain stored but are withheld from model context.
12391
+ SourceRefs []string `json:"sourceRefs"`
12392
+ SourceType AIMemoryRecordSourceType `json:"sourceType"`
12393
+ Status string `json:"status"`
12394
+ ValidFrom time.Time `json:"validFrom"`
11351
12395
  }
11352
12396
 
11353
12397
  // AIMemoryRecordSourceType defines model for AIMemoryRecord.SourceType.
@@ -11746,13 +12790,16 @@ type AgentRun struct {
11746
12790
  CapabilityID string `json:"capabilityId"`
11747
12791
 
11748
12792
  // Chat Conversation input carried in AgentRun.chat for capabilityId general. History contains prior user and successful assistant messages, oldest first; the current question is separate. The control plane bounds total history and reports omitted messages through historyTruncated. This is conversation data, not an authorization grant or a request to run an analysis workflow.
11749
- Chat *AgentChatInput `json:"chat,omitempty"`
11750
- ID string `json:"id"`
11751
- Input map[string]any `json:"input,omitempty"`
11752
- Output map[string]any `json:"output,omitempty"`
12793
+ Chat *AgentChatInput `json:"chat,omitempty"`
12794
+ EventSequence int `json:"eventSequence,omitempty"`
12795
+ ExecutionOwner AgentRunExecutionOwner `json:"executionOwner,omitempty"`
12796
+ ID string `json:"id"`
12797
+ Input map[string]any `json:"input,omitempty"`
12798
+ Output map[string]any `json:"output,omitempty"`
11753
12799
 
11754
12800
  // ParentRunID Parent run for a single read-only specialist delegation; absent on root runs.
11755
12801
  ParentRunID string `json:"parentRunId,omitempty"`
12802
+ Phase string `json:"phase,omitempty"`
11756
12803
  ProviderID string `json:"providerId"`
11757
12804
  ProviderKind string `json:"providerKind"`
11758
12805
  Scope map[string]any `json:"scope,omitempty"`
@@ -11761,12 +12808,17 @@ type AgentRun struct {
11761
12808
  SkillBindings []map[string]any `json:"skillBindings,omitempty"`
11762
12809
  SkillIDs []string `json:"skillIds,omitempty"`
11763
12810
  Status string `json:"status"`
12811
+ StopReason string `json:"stopReason,omitempty"`
11764
12812
  TimeoutSeconds int `json:"timeoutSeconds"`
11765
12813
  ToolBindings []map[string]any `json:"toolBindings,omitempty"`
11766
12814
  Toolset map[string]any `json:"toolset,omitempty"`
12815
+ UsageKnown bool `json:"usageKnown,omitempty"`
11767
12816
  AdditionalProperties map[string]any `json:"-"`
11768
12817
  }
11769
12818
 
12819
+ // AgentRunExecutionOwner defines model for AgentRun.ExecutionOwner.
12820
+ type AgentRunExecutionOwner string
12821
+
11770
12822
  // AgentRunCallbackRequest defines model for AgentRunCallbackRequest.
11771
12823
  type AgentRunCallbackRequest struct {
11772
12824
  AgentID string `json:"agentId"`
@@ -12011,6 +13063,24 @@ type AgentRunEnvelope struct {
12011
13063
  Data AgentRun `json:"data"`
12012
13064
  }
12013
13065
 
13066
+ // AgentRunEventListEnvelope defines model for AgentRunEventListEnvelope.
13067
+ type AgentRunEventListEnvelope struct {
13068
+ Data AgentRunEventPage `json:"data"`
13069
+ }
13070
+
13071
+ // AgentRunEventPage defines model for AgentRunEventPage.
13072
+ type AgentRunEventPage struct {
13073
+ HasMore bool `json:"hasMore"`
13074
+ Items []WorkbenchStreamEvent `json:"items"`
13075
+ NextSequence int `json:"nextSequence"`
13076
+ ResyncRequired bool `json:"resyncRequired"`
13077
+ }
13078
+
13079
+ // AgentRunResumeRequest defines model for AgentRunResumeRequest.
13080
+ type AgentRunResumeRequest struct {
13081
+ Input string `json:"input,omitempty"`
13082
+ }
13083
+
12014
13084
  // AgentRunToolCallRequest defines model for AgentRunToolCallRequest.
12015
13085
  type AgentRunToolCallRequest struct {
12016
13086
  AdapterID string `json:"adapterId,omitempty"`
@@ -12070,6 +13140,55 @@ type AgentRunnerToolInputFormat string
12070
13140
  // AgentRunnerToolInputToolName Change target for change.request; this only creates a pending approval and never executes the change.
12071
13141
  type AgentRunnerToolInputToolName string
12072
13142
 
13143
+ // AgentSSHCapability defines model for AgentSSHCapability.
13144
+ type AgentSSHCapability struct {
13145
+ AgentID string `json:"agentId"`
13146
+ Available bool `json:"available"`
13147
+ CommandsAvailable bool `json:"commandsAvailable,omitempty"`
13148
+ ProtocolVersion int `json:"protocolVersion"`
13149
+ }
13150
+
13151
+ // AgentSSHCommandRequest defines model for AgentSSHCommandRequest.
13152
+ type AgentSSHCommandRequest struct {
13153
+ Command string `json:"command"`
13154
+ Session AgentSSHSessionRequest `json:"session"`
13155
+ TimeoutSeconds int `json:"timeoutSeconds"`
13156
+ }
13157
+
13158
+ // AgentSSHCommandResult defines model for AgentSSHCommandResult.
13159
+ type AgentSSHCommandResult struct {
13160
+ AgentID string `json:"agentId"`
13161
+ CommandDigest string `json:"commandDigest"`
13162
+ Effect AgentSSHCommandResultEffect `json:"effect"`
13163
+ ExitCode *int `json:"exitCode,omitempty"`
13164
+ OutputDigest string `json:"outputDigest,omitempty"`
13165
+ OutputTruncated bool `json:"outputTruncated,omitempty"`
13166
+ SessionID string `json:"sessionId"`
13167
+ Stderr string `json:"stderr,omitempty"`
13168
+ Stdout string `json:"stdout,omitempty"`
13169
+ Stopped bool `json:"stopped"`
13170
+ }
13171
+
13172
+ // AgentSSHCommandResultEffect defines model for AgentSSHCommandResult.Effect.
13173
+ type AgentSSHCommandResultEffect string
13174
+
13175
+ // AgentSSHSessionRequest defines model for AgentSSHSessionRequest.
13176
+ type AgentSSHSessionRequest struct {
13177
+ Address string `json:"address"`
13178
+ AgentID string `json:"agentId"`
13179
+ Cols int `json:"cols"`
13180
+ ControlPlaneEndpoint string `json:"controlPlaneEndpoint"`
13181
+ CredentialKind SecretKind `json:"credentialKind"`
13182
+ ExecutionClusterID string `json:"executionClusterId"`
13183
+ ExpiresAt time.Time `json:"expiresAt"`
13184
+ Lease SecretLeaseGrant `json:"lease"`
13185
+ Port int `json:"port"`
13186
+ Rows int `json:"rows"`
13187
+ SessionID string `json:"sessionId"`
13188
+ TrustedHostKey string `json:"trustedHostKey"`
13189
+ Username string `json:"username"`
13190
+ }
13191
+
12073
13192
  // AgentToolCallResult defines model for AgentToolCallResult.
12074
13193
  type AgentToolCallResult struct {
12075
13194
  Output map[string]any `json:"output,omitempty"`
@@ -13296,6 +14415,12 @@ type CapabilityResourceRef struct {
13296
14415
  Version string `json:"version,omitempty"`
13297
14416
  }
13298
14417
 
14418
+ // CapabilityScopeConstraint defines model for CapabilityScopeConstraint.
14419
+ type CapabilityScopeConstraint struct {
14420
+ Dimension string `json:"dimension"`
14421
+ Value string `json:"value"`
14422
+ }
14423
+
13299
14424
  // CapabilityTask A governed goal and its existing Workflow run. Domain tasks retain ownership of effects and cancellation.
13300
14425
  type CapabilityTask struct {
13301
14426
  Assessment *CapabilityAssessment `json:"assessment,omitempty"`
@@ -13305,11 +14430,12 @@ type CapabilityTask struct {
13305
14430
  Nodes []CapabilityTaskNode `json:"nodes"`
13306
14431
 
13307
14432
  // Plan Version-pinned capability calls compiled into the existing Workflow engine. No scripts, expressions, or arbitrary endpoints are accepted.
13308
- Plan CapabilityPlan `json:"plan"`
13309
- PlanVersion int `json:"planVersion,omitempty"`
13310
- Status string `json:"status"`
13311
- UpdatedAt time.Time `json:"updatedAt"`
13312
- Version int64 `json:"version"`
14433
+ Plan CapabilityPlan `json:"plan"`
14434
+ PlanVersion int `json:"planVersion,omitempty"`
14435
+ ScopeConstraints []CapabilityScopeConstraint `json:"scopeConstraints,omitempty"`
14436
+ Status string `json:"status"`
14437
+ UpdatedAt time.Time `json:"updatedAt"`
14438
+ Version int64 `json:"version"`
13313
14439
  }
13314
14440
 
13315
14441
  // CapabilityTaskEnvelope defines model for CapabilityTaskEnvelope.
@@ -13324,8 +14450,11 @@ type CapabilityTaskInput struct {
13324
14450
  IdempotencyKey string `json:"idempotencyKey"`
13325
14451
 
13326
14452
  // Plan Version-pinned capability calls compiled into the existing Workflow engine. No scripts, expressions, or arbitrary endpoints are accepted.
13327
- Plan CapabilityPlan `json:"plan"`
13328
- SkillID string `json:"skillId,omitempty"`
14453
+ Plan CapabilityPlan `json:"plan"`
14454
+
14455
+ // ScopeConstraints Immutable exact target constraints for every resolved invocation, approval replay, status read and cancellation. These narrow scope and never grant permission.
14456
+ ScopeConstraints []CapabilityScopeConstraint `json:"scopeConstraints,omitempty"`
14457
+ SkillID string `json:"skillId,omitempty"`
13329
14458
  }
13330
14459
 
13331
14460
  // CapabilityTaskListEnvelope defines model for CapabilityTaskListEnvelope.
@@ -13398,6 +14527,45 @@ type ChangePasswordRequest struct {
13398
14527
  NewPassword string `json:"newPassword"`
13399
14528
  }
13400
14529
 
14530
+ // ClusterAgentUpgradeInput defines model for ClusterAgentUpgradeInput.
14531
+ type ClusterAgentUpgradeInput struct {
14532
+ // Version Explicit stable official Agent version, such as v0.1.7. Registry and container identity cannot be overridden.
14533
+ Version string `json:"version"`
14534
+ }
14535
+
14536
+ // ClusterAgentUpgradeResult defines model for ClusterAgentUpgradeResult.
14537
+ type ClusterAgentUpgradeResult struct {
14538
+ PreviousImage string `json:"previousImage"`
14539
+ TargetImage string `json:"targetImage"`
14540
+ }
14541
+
14542
+ // ClusterAgentUpgradeResultEnvelope defines model for ClusterAgentUpgradeResultEnvelope.
14543
+ type ClusterAgentUpgradeResultEnvelope struct {
14544
+ Data ClusterAgentUpgradeResult `json:"data"`
14545
+ }
14546
+
14547
+ // ClusterAgentUpgradeStatus defines model for ClusterAgentUpgradeStatus.
14548
+ type ClusterAgentUpgradeStatus struct {
14549
+ CanUpgrade bool `json:"canUpgrade"`
14550
+
14551
+ // Image Desired image of the standard Agent Deployment.
14552
+ Image string `json:"image"`
14553
+ Message string `json:"message"`
14554
+
14555
+ // RecommendedVersion Agent version bundled with this Core release.
14556
+ RecommendedVersion string `json:"recommendedVersion"`
14557
+ RolloutStatus string `json:"rolloutStatus"`
14558
+ UpgradeDisabledReason string `json:"upgradeDisabledReason,omitempty"`
14559
+
14560
+ // Version Version reported by the currently connected Agent process.
14561
+ Version string `json:"version"`
14562
+ }
14563
+
14564
+ // ClusterAgentUpgradeStatusEnvelope defines model for ClusterAgentUpgradeStatusEnvelope.
14565
+ type ClusterAgentUpgradeStatusEnvelope struct {
14566
+ Data ClusterAgentUpgradeStatus `json:"data"`
14567
+ }
14568
+
13401
14569
  // ClusterCapabilityMatrixEntry defines model for ClusterCapabilityMatrixEntry.
13402
14570
  type ClusterCapabilityMatrixEntry struct {
13403
14571
  Agent ClusterCapabilityModeSupport `json:"agent"`
@@ -15918,12 +17086,15 @@ type DockerQuickCreateHostInput struct {
15918
17086
  DiskBytes int `json:"diskBytes,omitempty"`
15919
17087
  Environment string `json:"environment,omitempty"`
15920
17088
  FlavorID string `json:"flavorId,omitempty"`
15921
- ImageID string `json:"imageId,omitempty"`
15922
- Labels map[string]DockerPayloadValue `json:"labels,omitempty"`
15923
- MemoryBytes int `json:"memoryBytes,omitempty"`
15924
- Name string `json:"name"`
15925
- Network string `json:"network,omitempty"`
15926
- Owner string `json:"owner,omitempty"`
17089
+
17090
+ // GuestAccess Managed first-boot public-key initialization. Requires a verified cloud-init image and excludes raw cloudInit and native sshkeys/cicustom fields. The server freezes each Secret version; private keys are never sent to the guest.
17091
+ GuestAccess *VirtualMachineGuestAccessInput `json:"guestAccess,omitempty"`
17092
+ ImageID string `json:"imageId,omitempty"`
17093
+ Labels map[string]DockerPayloadValue `json:"labels,omitempty"`
17094
+ MemoryBytes int `json:"memoryBytes,omitempty"`
17095
+ Name string `json:"name"`
17096
+ Network string `json:"network,omitempty"`
17097
+ Owner string `json:"owner,omitempty"`
15927
17098
 
15928
17099
  // RequireCapacity Require atomic provider capacity admission for the backing VM.
15929
17100
  RequireCapacity bool `json:"requireCapacity,omitempty"`
@@ -17544,30 +18715,36 @@ type KnowledgeBaseListEnvelope struct {
17544
18715
 
17545
18716
  // KnowledgeCitation defines model for KnowledgeCitation.
17546
18717
  type KnowledgeCitation struct {
17547
- ChunkID string `json:"chunkId"`
17548
- ContentHash string `json:"contentHash"`
17549
- DocumentID string `json:"documentId"`
17550
- DocumentTitle string `json:"documentTitle"`
17551
- ID string `json:"id"`
17552
- KnowledgeBaseID string `json:"knowledgeBaseId"`
17553
- Location KnowledgeSourceLocation `json:"location"`
17554
- Score float32 `json:"score"`
17555
- URI string `json:"uri,omitempty"`
18718
+ ChunkID string `json:"chunkId"`
18719
+ ContentHash string `json:"contentHash"`
18720
+ DocumentID string `json:"documentId"`
18721
+ DocumentTitle string `json:"documentTitle"`
18722
+ DocumentVersionID string `json:"documentVersionId,omitempty"`
18723
+ ID string `json:"id"`
18724
+ IndexRevisionID string `json:"indexRevisionId,omitempty"`
18725
+ KnowledgeBaseID string `json:"knowledgeBaseId"`
18726
+ Location KnowledgeSourceLocation `json:"location"`
18727
+ RetrievedAt *time.Time `json:"retrievedAt,omitempty"`
18728
+ Score float32 `json:"score"`
18729
+ URI string `json:"uri,omitempty"`
17556
18730
  }
17557
18731
 
17558
18732
  // KnowledgeConnector defines model for KnowledgeConnector.
17559
18733
  type KnowledgeConnector struct {
18734
+ // Config External connector config may include importPolicy conforming to knowledge/source-import-policy.schema.json. Core uses this trusted ceiling; fetched ACLs cannot expand it. Omission defaults to the knowledge-base owner. Credentials use secretRef and Gateway authorization, never config values.
17560
18735
  Config map[string]any `json:"config"`
17561
18736
  CreatedAt time.Time `json:"createdAt"`
17562
18737
  ID string `json:"id"`
17563
18738
  Kind KnowledgeConnectorKind `json:"kind"`
17564
18739
  KnowledgeBaseID string `json:"knowledgeBaseId"`
17565
18740
  Name string `json:"name"`
17566
- SecretRef string `json:"secretRef"`
17567
- Status string `json:"status"`
17568
- SyncPolicy KnowledgeSyncPolicy `json:"syncPolicy"`
17569
- UpdatedAt time.Time `json:"updatedAt"`
17570
- Version string `json:"version,omitempty"`
18741
+
18742
+ // SecretRef Gateway execution uses soha://secrets/<id> with an optional /versions/<n>. Legacy secret: references remain readable but require explicit configuration migration before execution.
18743
+ SecretRef string `json:"secretRef"`
18744
+ Status string `json:"status"`
18745
+ SyncPolicy KnowledgeSyncPolicy `json:"syncPolicy"`
18746
+ UpdatedAt time.Time `json:"updatedAt"`
18747
+ Version string `json:"version,omitempty"`
17571
18748
  }
17572
18749
 
17573
18750
  // KnowledgeConnectorKind defines model for KnowledgeConnector.Kind.
@@ -17580,13 +18757,16 @@ type KnowledgeConnectorEnvelope struct {
17580
18757
 
17581
18758
  // KnowledgeConnectorInput defines model for KnowledgeConnectorInput.
17582
18759
  type KnowledgeConnectorInput struct {
18760
+ // Config External connector config may include importPolicy conforming to knowledge/source-import-policy.schema.json. Core uses this trusted ceiling; fetched ACLs cannot expand it. Omission defaults to the knowledge-base owner. Credentials use secretRef and Gateway authorization, never config values.
17583
18761
  Config map[string]any `json:"config"`
17584
18762
  Kind KnowledgeConnectorInputKind `json:"kind"`
17585
18763
  KnowledgeBaseID string `json:"knowledgeBaseId"`
17586
18764
  Name string `json:"name"`
17587
- SecretRef string `json:"secretRef"`
17588
- SyncPolicy KnowledgeSyncPolicy `json:"syncPolicy"`
17589
- Version string `json:"version,omitempty"`
18765
+
18766
+ // SecretRef Gateway execution uses soha://secrets/<id> with an optional /versions/<n>. Legacy secret: references remain readable but require explicit configuration migration before execution.
18767
+ SecretRef string `json:"secretRef"`
18768
+ SyncPolicy KnowledgeSyncPolicy `json:"syncPolicy"`
18769
+ Version string `json:"version,omitempty"`
17590
18770
  }
17591
18771
 
17592
18772
  // KnowledgeConnectorInputKind defines model for KnowledgeConnectorInput.Kind.
@@ -17822,15 +19002,20 @@ type KnowledgeSearchRequest struct {
17822
19002
 
17823
19003
  // KnowledgeSearchResult defines model for KnowledgeSearchResult.
17824
19004
  type KnowledgeSearchResult struct {
17825
- CandidateCount int `json:"candidateCount"`
17826
- Citations []KnowledgeCitation `json:"citations"`
17827
- Hits []KnowledgeSearchHit `json:"hits"`
17828
- NoAnswer bool `json:"noAnswer"`
17829
- Query string `json:"query"`
17830
- TimingMs int64 `json:"timingMs"`
17831
- TraceID string `json:"traceId"`
19005
+ CandidateCount int `json:"candidateCount"`
19006
+ Citations []KnowledgeCitation `json:"citations"`
19007
+ DegradationReason string `json:"degradationReason,omitempty"`
19008
+ Hits []KnowledgeSearchHit `json:"hits"`
19009
+ NoAnswer bool `json:"noAnswer"`
19010
+ Query string `json:"query"`
19011
+ RetrievalMode KnowledgeSearchResultRetrievalMode `json:"retrievalMode,omitempty"`
19012
+ TimingMs int64 `json:"timingMs"`
19013
+ TraceID string `json:"traceId"`
17832
19014
  }
17833
19015
 
19016
+ // KnowledgeSearchResultRetrievalMode defines model for KnowledgeSearchResult.RetrievalMode.
19017
+ type KnowledgeSearchResultRetrievalMode string
19018
+
17834
19019
  // KnowledgeSearchResultEnvelope defines model for KnowledgeSearchResultEnvelope.
17835
19020
  type KnowledgeSearchResultEnvelope struct {
17836
19021
  Data KnowledgeSearchResult `json:"data"`
@@ -17864,14 +19049,7 @@ type KnowledgeSourceConfig struct {
17864
19049
  }
17865
19050
 
17866
19051
  // KnowledgeSourceDocument defines model for KnowledgeSourceDocument.
17867
- type KnowledgeSourceDocument struct {
17868
- ACL KnowledgeAccessScope `json:"acl"`
17869
- Content string `json:"content"`
17870
- ExternalID string `json:"externalId"`
17871
- Title string `json:"title"`
17872
- URI string `json:"uri,omitempty"`
17873
- Version string `json:"version,omitempty"`
17874
- }
19052
+ type KnowledgeSourceDocument = interface{}
17875
19053
 
17876
19054
  // KnowledgeSourceEnvelope defines model for KnowledgeSourceEnvelope.
17877
19055
  type KnowledgeSourceEnvelope struct {
@@ -18232,6 +19410,12 @@ type KubernetesConfigMap struct {
18232
19410
  Namespace string `json:"namespace"`
18233
19411
  }
18234
19412
 
19413
+ // KubernetesConfigMapDataInput defines model for KubernetesConfigMapDataInput.
19414
+ type KubernetesConfigMapDataInput struct {
19415
+ BinaryData *KubernetesStringMap `json:"binaryData,omitempty"`
19416
+ Data *KubernetesStringMap `json:"data,omitempty"`
19417
+ }
19418
+
18235
19419
  // KubernetesConfigMapDetail defines model for KubernetesConfigMapDetail.
18236
19420
  type KubernetesConfigMapDetail struct {
18237
19421
  AgeSeconds int64 `json:"ageSeconds"`
@@ -18311,6 +19495,11 @@ type KubernetesCronJobListEnvelope struct {
18311
19495
  Items []KubernetesCronJob `json:"items"`
18312
19496
  }
18313
19497
 
19498
+ // KubernetesCronJobSuspendInput defines model for KubernetesCronJobSuspendInput.
19499
+ type KubernetesCronJobSuspendInput struct {
19500
+ Suspend bool `json:"suspend"`
19501
+ }
19502
+
18314
19503
  // KubernetesCustomResource defines model for KubernetesCustomResource.
18315
19504
  type KubernetesCustomResource struct {
18316
19505
  AgeSeconds int64 `json:"ageSeconds"`
@@ -18327,6 +19516,19 @@ type KubernetesCustomResource struct {
18327
19516
  UID string `json:"uid,omitempty"`
18328
19517
  }
18329
19518
 
19519
+ // KubernetesCustomResourceAccess defines model for KubernetesCustomResourceAccess.
19520
+ type KubernetesCustomResourceAccess struct {
19521
+ AllowedActions []KubernetesCustomResourceAccessAllowedActions `json:"allowedActions"`
19522
+ }
19523
+
19524
+ // KubernetesCustomResourceAccessAllowedActions defines model for KubernetesCustomResourceAccess.AllowedActions.
19525
+ type KubernetesCustomResourceAccessAllowedActions string
19526
+
19527
+ // KubernetesCustomResourceAccessEnvelope defines model for KubernetesCustomResourceAccessEnvelope.
19528
+ type KubernetesCustomResourceAccessEnvelope struct {
19529
+ Data KubernetesCustomResourceAccess `json:"data"`
19530
+ }
19531
+
18330
19532
  // KubernetesCustomResourceDefinition defines model for KubernetesCustomResourceDefinition.
18331
19533
  type KubernetesCustomResourceDefinition struct {
18332
19534
  AgeSeconds int64 `json:"ageSeconds"`
@@ -19270,6 +20472,25 @@ type KubernetesNamespace struct {
19270
20472
  Status string `json:"status"`
19271
20473
  }
19272
20474
 
20475
+ // KubernetesNamespaceCreateInput defines model for KubernetesNamespaceCreateInput.
20476
+ type KubernetesNamespaceCreateInput struct {
20477
+ Annotations *KubernetesStringMap `json:"annotations,omitempty"`
20478
+ Labels *KubernetesStringMap `json:"labels,omitempty"`
20479
+ Name string `json:"name"`
20480
+ }
20481
+
20482
+ // KubernetesNamespaceEnvelope defines model for KubernetesNamespaceEnvelope.
20483
+ type KubernetesNamespaceEnvelope struct {
20484
+ Data KubernetesNamespace `json:"data"`
20485
+ }
20486
+
20487
+ // KubernetesNamespaceInput defines model for KubernetesNamespaceInput.
20488
+ type KubernetesNamespaceInput struct {
20489
+ Annotations *KubernetesStringMap `json:"annotations,omitempty"`
20490
+ Labels *KubernetesStringMap `json:"labels,omitempty"`
20491
+ Name string `json:"name,omitempty"`
20492
+ }
20493
+
19273
20494
  // KubernetesNamespaceListEnvelope defines model for KubernetesNamespaceListEnvelope.
19274
20495
  type KubernetesNamespaceListEnvelope struct {
19275
20496
  Items []KubernetesNamespace `json:"items"`
@@ -19442,6 +20663,13 @@ type KubernetesNodeDetailEnvelope struct {
19442
20663
  Data KubernetesNodeDetail `json:"data"`
19443
20664
  }
19444
20665
 
20666
+ // KubernetesNodeDrainInput defines model for KubernetesNodeDrainInput.
20667
+ type KubernetesNodeDrainInput struct {
20668
+ DeleteEmptyDirData bool `json:"deleteEmptyDirData,omitempty"`
20669
+ Force bool `json:"force,omitempty"`
20670
+ TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
20671
+ }
20672
+
19445
20673
  // KubernetesNodeListEnvelope defines model for KubernetesNodeListEnvelope.
19446
20674
  type KubernetesNodeListEnvelope struct {
19447
20675
  Items []KubernetesNode `json:"items"`
@@ -19475,6 +20703,11 @@ type KubernetesNodeResourceSummary struct {
19475
20703
  UsagePercentages *KubernetesResourcePercentage `json:"usagePercentages,omitempty"`
19476
20704
  }
19477
20705
 
20706
+ // KubernetesNodeSchedulabilityInput defines model for KubernetesNodeSchedulabilityInput.
20707
+ type KubernetesNodeSchedulabilityInput struct {
20708
+ Unschedulable bool `json:"unschedulable"`
20709
+ }
20710
+
19478
20711
  // KubernetesNodeTaint defines model for KubernetesNodeTaint.
19479
20712
  type KubernetesNodeTaint struct {
19480
20713
  Effect string `json:"effect"`
@@ -19482,6 +20715,12 @@ type KubernetesNodeTaint struct {
19482
20715
  Value string `json:"value,omitempty"`
19483
20716
  }
19484
20717
 
20718
+ // KubernetesNodeUpdateInput defines model for KubernetesNodeUpdateInput.
20719
+ type KubernetesNodeUpdateInput struct {
20720
+ Labels *KubernetesStringMap `json:"labels,omitempty"`
20721
+ Taints []KubernetesNodeTaint `json:"taints,omitempty"`
20722
+ }
20723
+
19485
20724
  // KubernetesPersistentVolume defines model for KubernetesPersistentVolume.
19486
20725
  type KubernetesPersistentVolume struct {
19487
20726
  AccessModes []string `json:"accessModes,omitempty"`
@@ -20303,6 +21542,11 @@ type KubernetesResourceYamlEnvelope struct {
20303
21542
  Data KubernetesResourceYaml `json:"data"`
20304
21543
  }
20305
21544
 
21545
+ // KubernetesResourceYamlInput defines model for KubernetesResourceYamlInput.
21546
+ type KubernetesResourceYamlInput struct {
21547
+ Content string `json:"content"`
21548
+ }
21549
+
20306
21550
  // KubernetesRole defines model for KubernetesRole.
20307
21551
  type KubernetesRole struct {
20308
21552
  AgeSeconds int64 `json:"ageSeconds"`
@@ -20379,6 +21623,29 @@ type KubernetesRuntimeClassListEnvelope struct {
20379
21623
  Items []KubernetesRuntimeClass `json:"items"`
20380
21624
  }
20381
21625
 
21626
+ // KubernetesSecretDataInput Data values are plain text. The response detail returns Kubernetes Base64-encoded values.
21627
+ type KubernetesSecretDataInput struct {
21628
+ Data *KubernetesStringMap `json:"data,omitempty"`
21629
+ }
21630
+
21631
+ // KubernetesSecretDetail defines model for KubernetesSecretDetail.
21632
+ type KubernetesSecretDetail struct {
21633
+ AgeSeconds int64 `json:"ageSeconds"`
21634
+ Annotations *KubernetesStringMap `json:"annotations,omitempty"`
21635
+ CreatedAt string `json:"createdAt,omitempty"`
21636
+ Data *KubernetesStringMap `json:"data,omitempty"`
21637
+ Immutable bool `json:"immutable"`
21638
+ Labels *KubernetesStringMap `json:"labels,omitempty"`
21639
+ Name string `json:"name"`
21640
+ Namespace string `json:"namespace"`
21641
+ Type string `json:"type"`
21642
+ }
21643
+
21644
+ // KubernetesSecretDetailEnvelope defines model for KubernetesSecretDetailEnvelope.
21645
+ type KubernetesSecretDetailEnvelope struct {
21646
+ Data KubernetesSecretDetail `json:"data"`
21647
+ }
21648
+
20382
21649
  // KubernetesSecretMetadata defines model for KubernetesSecretMetadata.
20383
21650
  type KubernetesSecretMetadata struct {
20384
21651
  AgeSeconds int64 `json:"ageSeconds"`
@@ -20910,11 +22177,13 @@ type LLMCallLogListEnvelope struct {
20910
22177
 
20911
22178
  // LLMModelRoute defines model for LLMModelRoute.
20912
22179
  type LLMModelRoute struct {
20913
- CachePolicy map[string]any `json:"cachePolicy,omitempty"`
20914
- CreatedAt time.Time `json:"createdAt"`
20915
- Enabled bool `json:"enabled"`
20916
- FallbackPolicy map[string]any `json:"fallbackPolicy,omitempty"`
20917
- ID string `json:"id"`
22180
+ CachePolicy map[string]any `json:"cachePolicy,omitempty"`
22181
+ CreatedAt time.Time `json:"createdAt"`
22182
+ Enabled bool `json:"enabled"`
22183
+ FallbackPolicy map[string]any `json:"fallbackPolicy,omitempty"`
22184
+ ID string `json:"id"`
22185
+
22186
+ // Metadata Optional contextWindowTokens declares this route model window as a positive integer token count. Missing or invalid values mean unknown capacity; model names are never used to guess it.
20918
22187
  Metadata map[string]any `json:"metadata,omitempty"`
20919
22188
  Priority int `json:"priority"`
20920
22189
  ProviderKind LLMModelRouteProviderKind `json:"providerKind,omitempty"`
@@ -20940,10 +22209,12 @@ type LLMModelRouteEnvelope struct {
20940
22209
 
20941
22210
  // LLMModelRouteInput defines model for LLMModelRouteInput.
20942
22211
  type LLMModelRouteInput struct {
20943
- CachePolicy map[string]any `json:"cachePolicy,omitempty"`
20944
- Enabled bool `json:"enabled,omitempty"`
20945
- FallbackPolicy map[string]any `json:"fallbackPolicy,omitempty"`
20946
- ID string `json:"id,omitempty"`
22212
+ CachePolicy map[string]any `json:"cachePolicy,omitempty"`
22213
+ Enabled bool `json:"enabled,omitempty"`
22214
+ FallbackPolicy map[string]any `json:"fallbackPolicy,omitempty"`
22215
+ ID string `json:"id,omitempty"`
22216
+
22217
+ // Metadata Optional contextWindowTokens declares this route model window as a positive integer token count. Missing or invalid values mean unknown capacity; model names are never used to guess it.
20947
22218
  Metadata map[string]any `json:"metadata,omitempty"`
20948
22219
  Priority int `json:"priority,omitempty"`
20949
22220
  ProviderKind LLMModelRouteInputProviderKind `json:"providerKind,omitempty"`
@@ -23048,6 +24319,19 @@ type NetworkPolicySubjects struct {
23048
24319
  Users []string `json:"users"`
23049
24320
  }
23050
24321
 
24322
+ // NetworkProxyCapability defines model for NetworkProxyCapability.
24323
+ type NetworkProxyCapability string
24324
+
24325
+ // NetworkProxyCloseCommandEnvelope defines model for NetworkProxyCloseCommandEnvelope.
24326
+ type NetworkProxyCloseCommandEnvelope struct {
24327
+ CommandID string `json:"commandId"`
24328
+ ExpiresAt time.Time `json:"expiresAt"`
24329
+ Status NetworkProxyCloseCommandEnvelopeStatus `json:"status"`
24330
+ }
24331
+
24332
+ // NetworkProxyCloseCommandEnvelopeStatus defines model for NetworkProxyCloseCommandEnvelope.Status.
24333
+ type NetworkProxyCloseCommandEnvelopeStatus string
24334
+
23051
24335
  // NetworkProxyConfigurationInput defines model for NetworkProxyConfigurationInput.
23052
24336
  type NetworkProxyConfigurationInput struct {
23053
24337
  Content string `json:"content,omitempty"`
@@ -23055,6 +24339,30 @@ type NetworkProxyConfigurationInput struct {
23055
24339
  ExpectedRevision int64 `json:"expectedRevision"`
23056
24340
  }
23057
24341
 
24342
+ // NetworkProxyConnection defines model for NetworkProxyConnection.
24343
+ type NetworkProxyConnection struct {
24344
+ Destination string `json:"destination"`
24345
+ DownloadBytes int64 `json:"downloadBytes"`
24346
+ ID string `json:"id"`
24347
+ Network NetworkProxyConnectionNetwork `json:"network"`
24348
+ StartedAt *time.Time `json:"startedAt,omitempty"`
24349
+ UploadBytes int64 `json:"uploadBytes"`
24350
+ }
24351
+
24352
+ // NetworkProxyConnectionNetwork defines model for NetworkProxyConnection.Network.
24353
+ type NetworkProxyConnectionNetwork string
24354
+
24355
+ // NetworkProxyConnectionsEnvelope defines model for NetworkProxyConnectionsEnvelope.
24356
+ type NetworkProxyConnectionsEnvelope struct {
24357
+ Connections []NetworkProxyConnection `json:"connections"`
24358
+ InstanceID string `json:"instanceId"`
24359
+ ObservedAt *time.Time `json:"observedAt,omitempty"`
24360
+ State NetworkProxyConnectionsEnvelopeState `json:"state"`
24361
+ }
24362
+
24363
+ // NetworkProxyConnectionsEnvelopeState defines model for NetworkProxyConnectionsEnvelope.State.
24364
+ type NetworkProxyConnectionsEnvelopeState string
24365
+
23058
24366
  // NetworkProxyEngine defines model for NetworkProxyEngine.
23059
24367
  type NetworkProxyEngine string
23060
24368
 
@@ -23072,6 +24380,30 @@ type NetworkProxyFlowSummary struct {
23072
24380
  UploadBytes int64 `json:"uploadBytes"`
23073
24381
  }
23074
24382
 
24383
+ // NetworkProxyInstance defines model for NetworkProxyInstance.
24384
+ type NetworkProxyInstance struct {
24385
+ Capabilities []NetworkProxyCapability `json:"capabilities"`
24386
+ CreatedAt time.Time `json:"createdAt"`
24387
+ DesiredRevision int64 `json:"desiredRevision"`
24388
+ Enabled bool `json:"enabled"`
24389
+ Engine NetworkProxyEngine `json:"engine"`
24390
+ EngineVersion string `json:"engineVersion,omitempty"`
24391
+ Host string `json:"host,omitempty"`
24392
+ ID string `json:"id"`
24393
+ LastSampleAt *time.Time `json:"lastSampleAt,omitempty"`
24394
+ LastSeenAt *time.Time `json:"lastSeenAt,omitempty"`
24395
+ Name string `json:"name"`
24396
+ ObservedRevision int64 `json:"observedRevision"`
24397
+ ReasonCode string `json:"reasonCode,omitempty"`
24398
+ Status NetworkProxyInstanceStatus `json:"status"`
24399
+ UpdatedAt time.Time `json:"updatedAt"`
24400
+ }
24401
+
24402
+ // NetworkProxyInstanceEnvelope defines model for NetworkProxyInstanceEnvelope.
24403
+ type NetworkProxyInstanceEnvelope struct {
24404
+ Data NetworkProxyInstance `json:"data"`
24405
+ }
24406
+
23075
24407
  // NetworkProxyInstanceInput defines model for NetworkProxyInstanceInput.
23076
24408
  type NetworkProxyInstanceInput struct {
23077
24409
  Engine NetworkProxyEngine `json:"engine"`
@@ -23080,6 +24412,31 @@ type NetworkProxyInstanceInput struct {
23080
24412
  Name string `json:"name"`
23081
24413
  }
23082
24414
 
24415
+ // NetworkProxyInstanceListEnvelope defines model for NetworkProxyInstanceListEnvelope.
24416
+ type NetworkProxyInstanceListEnvelope struct {
24417
+ Items []NetworkProxyInstance `json:"items"`
24418
+ }
24419
+
24420
+ // NetworkProxyInstanceStatus defines model for NetworkProxyInstanceStatus.
24421
+ type NetworkProxyInstanceStatus string
24422
+
24423
+ // NetworkProxyTrafficEnvelope defines model for NetworkProxyTrafficEnvelope.
24424
+ type NetworkProxyTrafficEnvelope struct {
24425
+ InstanceID string `json:"instanceId"`
24426
+ Samples []NetworkProxyTrafficSample `json:"samples"`
24427
+ Supported bool `json:"supported"`
24428
+ }
24429
+
24430
+ // NetworkProxyTrafficSample defines model for NetworkProxyTrafficSample.
24431
+ type NetworkProxyTrafficSample struct {
24432
+ ActiveConnections int `json:"activeConnections,omitempty"`
24433
+ DownloadBytesPerSecond float32 `json:"downloadBytesPerSecond"`
24434
+ DownloadTotal int64 `json:"downloadTotal"`
24435
+ ObservedAt time.Time `json:"observedAt"`
24436
+ UploadBytesPerSecond float32 `json:"uploadBytesPerSecond"`
24437
+ UploadTotal int64 `json:"uploadTotal"`
24438
+ }
24439
+
23083
24440
  // NetworkResource defines model for NetworkResource.
23084
24441
  type NetworkResource struct {
23085
24442
  CreatedAt time.Time `json:"createdAt"`
@@ -24748,6 +26105,421 @@ type PersonalAccessTokenListEnvelope struct {
24748
26105
  Items []PersonalAccessToken `json:"items"`
24749
26106
  }
24750
26107
 
26108
+ // PersonalAgentAccess defines model for PersonalAgentAccess.
26109
+ type PersonalAgentAccess struct {
26110
+ DecidedAt *time.Time `json:"decidedAt,omitempty"`
26111
+ DecidedBy string `json:"decidedBy,omitempty"`
26112
+ RequestedAt *time.Time `json:"requestedAt,omitempty"`
26113
+ Status PersonalAgentAccessStatus `json:"status"`
26114
+ UserID string `json:"userId"`
26115
+ Version int64 `json:"version"`
26116
+ }
26117
+
26118
+ // PersonalAgentAccessStatus defines model for PersonalAgentAccess.Status.
26119
+ type PersonalAgentAccessStatus string
26120
+
26121
+ // PersonalAgentAccessDecision defines model for PersonalAgentAccessDecision.
26122
+ type PersonalAgentAccessDecision struct {
26123
+ Status PersonalAgentAccessDecisionStatus `json:"status"`
26124
+ Version int64 `json:"version"`
26125
+ }
26126
+
26127
+ // PersonalAgentAccessDecisionStatus defines model for PersonalAgentAccessDecision.Status.
26128
+ type PersonalAgentAccessDecisionStatus string
26129
+
26130
+ // PersonalAgentAccessEnvelope defines model for PersonalAgentAccessEnvelope.
26131
+ type PersonalAgentAccessEnvelope struct {
26132
+ Data PersonalAgentAccess `json:"data"`
26133
+ }
26134
+
26135
+ // PersonalAgentAccessListEnvelope defines model for PersonalAgentAccessListEnvelope.
26136
+ type PersonalAgentAccessListEnvelope struct {
26137
+ Data []PersonalAgentAccess `json:"data"`
26138
+ }
26139
+
26140
+ // PersonalAssistant defines model for PersonalAssistant.
26141
+ type PersonalAssistant struct {
26142
+ AvatarMotion PersonalAssistantAvatarMotion `json:"avatarMotion,omitempty"`
26143
+
26144
+ // AvatarPosterURL Static PNG/JPEG data URL used when motion is disabled or reduced.
26145
+ AvatarPosterURL string `json:"avatarPosterUrl,omitempty"`
26146
+
26147
+ // AvatarURL Bounded raster data URL belonging to this assistant, not the login account. Empty or absent uses the default image.
26148
+ AvatarURL string `json:"avatarUrl,omitempty"`
26149
+ CreatedAt time.Time `json:"createdAt,omitempty"`
26150
+ ID string `json:"id,omitempty"`
26151
+ MainSessionID string `json:"mainSessionId,omitempty"`
26152
+ Name string `json:"name"`
26153
+ UpdatedAt time.Time `json:"updatedAt,omitempty"`
26154
+ }
26155
+
26156
+ // PersonalAssistantAvatarMotion defines model for PersonalAssistant.AvatarMotion.
26157
+ type PersonalAssistantAvatarMotion string
26158
+
26159
+ // PersonalAssistantArtifact defines model for PersonalAssistantArtifact.
26160
+ type PersonalAssistantArtifact struct {
26161
+ Artifact WorkbenchAnalysisArtifact `json:"artifact"`
26162
+ CreatedAt time.Time `json:"createdAt,omitempty"`
26163
+ ID string `json:"id,omitempty"`
26164
+ MessageID string `json:"messageId,omitempty"`
26165
+ SessionID string `json:"sessionId,omitempty"`
26166
+ TaskID string `json:"taskId,omitempty"`
26167
+ }
26168
+
26169
+ // PersonalAssistantArtifactListEnvelope defines model for PersonalAssistantArtifactListEnvelope.
26170
+ type PersonalAssistantArtifactListEnvelope struct {
26171
+ Data []PersonalAssistantArtifact `json:"data"`
26172
+ }
26173
+
26174
+ // PersonalAssistantAvatarRequest defines model for PersonalAssistantAvatarRequest.
26175
+ type PersonalAssistantAvatarRequest struct {
26176
+ AvatarMotion PersonalAssistantAvatarRequestAvatarMotion `json:"avatarMotion,omitempty"`
26177
+ AvatarPosterURL string `json:"avatarPosterUrl,omitempty"`
26178
+ AvatarURL string `json:"avatarUrl"`
26179
+ }
26180
+
26181
+ // PersonalAssistantAvatarRequestAvatarMotion defines model for PersonalAssistantAvatarRequest.AvatarMotion.
26182
+ type PersonalAssistantAvatarRequestAvatarMotion string
26183
+
26184
+ // PersonalAssistantEnvelope defines model for PersonalAssistantEnvelope.
26185
+ type PersonalAssistantEnvelope struct {
26186
+ Data PersonalAssistant `json:"data"`
26187
+ }
26188
+
26189
+ // PersonalAssistantUpdateRequest defines model for PersonalAssistantUpdateRequest.
26190
+ type PersonalAssistantUpdateRequest struct {
26191
+ Name string `json:"name"`
26192
+ }
26193
+
26194
+ // PersonalDockerEnvironmentPolicy Administrator-selected registered Agent connection and hard personal-data quota. No user-entered URL, Docker handle, image or credential. Only container templates can use this policy; existing bindings freeze it and cannot silently move or resize their data. Runtime readiness still requires real Agent receipts.
26195
+ type PersonalDockerEnvironmentPolicy struct {
26196
+ AgentClusterID openapi_types.UUID `json:"agentClusterId"`
26197
+ LeaseSeconds int `json:"leaseSeconds"`
26198
+ Quota PersonalEnvironmentQuota `json:"quota"`
26199
+ }
26200
+
26201
+ // PersonalEnvironment defines model for PersonalEnvironment.
26202
+ type PersonalEnvironment struct {
26203
+ AssistantID string `json:"assistantId,omitempty"`
26204
+
26205
+ // Backend Frozen execution backend of this binding; never inferred from the current template.
26206
+ Backend PersonalEnvironmentBackend `json:"backend,omitempty"`
26207
+
26208
+ // ComputeGeneration Reserved execution generation; zero means no execution has been reserved.
26209
+ ComputeGeneration int64 `json:"computeGeneration,omitempty"`
26210
+
26211
+ // ComputeRef Opaque execution reference; not a physical handle or readiness proof.
26212
+ ComputeRef string `json:"computeRef,omitempty"`
26213
+
26214
+ // DataInitialized A successful past data receipt; does not prove that data currently exists or that the environment is ready.
26215
+ DataInitialized bool `json:"dataInitialized,omitempty"`
26216
+
26217
+ // DataRef Stable logical personal-data identity. Existence requires a fresh authorized receipt.
26218
+ DataRef string `json:"dataRef,omitempty"`
26219
+ ExpiresAt *time.Time `json:"expiresAt,omitempty"`
26220
+ ObservedAt *time.Time `json:"observedAt,omitempty"`
26221
+
26222
+ // PolicyRevision Frozen policy identity. legacy-docker-v1 preserves the original stored lease and quota.
26223
+ PolicyRevision string `json:"policyRevision,omitempty"`
26224
+ Provider PersonalEnvironmentProvider `json:"provider,omitempty"`
26225
+ Quota *PersonalEnvironmentQuota `json:"quota,omitempty"`
26226
+ State PersonalEnvironmentState `json:"state,omitempty"`
26227
+ TemplateID string `json:"templateId,omitempty"`
26228
+ UpdatedAt *time.Time `json:"updatedAt,omitempty"`
26229
+ Usage *PersonalEnvironmentUsage `json:"usage,omitempty"`
26230
+ Version int64 `json:"version,omitempty"`
26231
+ }
26232
+
26233
+ // PersonalEnvironmentBackend Frozen execution backend of this binding; never inferred from the current template.
26234
+ type PersonalEnvironmentBackend string
26235
+
26236
+ // PersonalEnvironmentProvider defines model for PersonalEnvironment.Provider.
26237
+ type PersonalEnvironmentProvider string
26238
+
26239
+ // PersonalEnvironmentState defines model for PersonalEnvironment.State.
26240
+ type PersonalEnvironmentState string
26241
+
26242
+ // PersonalEnvironmentActionRequest defines model for PersonalEnvironmentActionRequest.
26243
+ type PersonalEnvironmentActionRequest struct {
26244
+ Action PersonalEnvironmentActionRequestAction `json:"action"`
26245
+
26246
+ // TemplateID Required on first wake; may only select the already bound template afterward. Only wake accepts this field.
26247
+ TemplateID string `json:"templateId,omitempty"`
26248
+ }
26249
+
26250
+ // PersonalEnvironmentActionRequestAction defines model for PersonalEnvironmentActionRequest.Action.
26251
+ type PersonalEnvironmentActionRequestAction string
26252
+
26253
+ // PersonalEnvironmentDataDeletionRequest defines model for PersonalEnvironmentDataDeletionRequest.
26254
+ type PersonalEnvironmentDataDeletionRequest struct {
26255
+ AssistantID string `json:"assistantId"`
26256
+ ConfirmationName string `json:"confirmationName"`
26257
+ EnvironmentVersion int64 `json:"environmentVersion"`
26258
+ }
26259
+
26260
+ // PersonalEnvironmentDataExportRequest defines model for PersonalEnvironmentDataExportRequest.
26261
+ type PersonalEnvironmentDataExportRequest struct {
26262
+ AssistantID string `json:"assistantId"`
26263
+ EnvironmentVersion int64 `json:"environmentVersion"`
26264
+ }
26265
+
26266
+ // PersonalEnvironmentEnvelope defines model for PersonalEnvironmentEnvelope.
26267
+ type PersonalEnvironmentEnvelope struct {
26268
+ Data PersonalEnvironment `json:"data"`
26269
+ }
26270
+
26271
+ // PersonalEnvironmentQuota defines model for PersonalEnvironmentQuota.
26272
+ type PersonalEnvironmentQuota struct {
26273
+ // CPUUnits CPU millicores; 1000 is one CPU.
26274
+ CPUUnits int64 `json:"cpuUnits"`
26275
+
26276
+ // DiskBytes Hard charged persistent-data bytes; temporary mounts charge memory instead.
26277
+ DiskBytes int64 `json:"diskBytes"`
26278
+ MaxProcesses int `json:"maxProcesses"`
26279
+ MemoryBytes int64 `json:"memoryBytes"`
26280
+
26281
+ // NetworkEgress Direct network access is not supported by this personal environment policy.
26282
+ NetworkEgress bool `json:"networkEgress"`
26283
+ }
26284
+
26285
+ // PersonalEnvironmentTemplate defines model for PersonalEnvironmentTemplate.
26286
+ type PersonalEnvironmentTemplate struct {
26287
+ Backend PersonalEnvironmentTemplateBackend `json:"backend,omitempty"`
26288
+ ID string `json:"id"`
26289
+ LeaseSeconds int `json:"leaseSeconds"`
26290
+ Mode PersonalEnvironmentTemplateMode `json:"mode"`
26291
+ Name string `json:"name"`
26292
+ PolicyRevision string `json:"policyRevision,omitempty"`
26293
+ Provider PersonalEnvironmentTemplateProvider `json:"provider,omitempty"`
26294
+ Quota PersonalEnvironmentQuota `json:"quota"`
26295
+ }
26296
+
26297
+ // PersonalEnvironmentTemplateBackend defines model for PersonalEnvironmentTemplate.Backend.
26298
+ type PersonalEnvironmentTemplateBackend string
26299
+
26300
+ // PersonalEnvironmentTemplateMode defines model for PersonalEnvironmentTemplate.Mode.
26301
+ type PersonalEnvironmentTemplateMode string
26302
+
26303
+ // PersonalEnvironmentTemplateProvider defines model for PersonalEnvironmentTemplate.Provider.
26304
+ type PersonalEnvironmentTemplateProvider string
26305
+
26306
+ // PersonalEnvironmentTemplateListEnvelope defines model for PersonalEnvironmentTemplateListEnvelope.
26307
+ type PersonalEnvironmentTemplateListEnvelope struct {
26308
+ Data []PersonalEnvironmentTemplate `json:"data"`
26309
+ }
26310
+
26311
+ // PersonalEnvironmentUsage defines model for PersonalEnvironmentUsage.
26312
+ type PersonalEnvironmentUsage struct {
26313
+ CPUTimeNanos int64 `json:"cpuTimeNanos"`
26314
+ DiskBytes int64 `json:"diskBytes"`
26315
+ MemoryBytes int64 `json:"memoryBytes"`
26316
+ Processes int `json:"processes"`
26317
+ }
26318
+
26319
+ // PersonalFeedEnvelope defines model for PersonalFeedEnvelope.
26320
+ type PersonalFeedEnvelope struct {
26321
+ Data PersonalFeedPage `json:"data"`
26322
+ }
26323
+
26324
+ // PersonalFeedFeedback defines model for PersonalFeedFeedback.
26325
+ type PersonalFeedFeedback struct {
26326
+ Hidden bool `json:"hidden,omitempty"`
26327
+ Liked bool `json:"liked,omitempty"`
26328
+ }
26329
+
26330
+ // PersonalFeedItem defines model for PersonalFeedItem.
26331
+ type PersonalFeedItem struct {
26332
+ Body string `json:"body"`
26333
+ CreatedAt time.Time `json:"createdAt"`
26334
+ ID string `json:"id"`
26335
+ Liked bool `json:"liked"`
26336
+ Reason string `json:"reason"`
26337
+ Sources []PersonalFeedSource `json:"sources"`
26338
+ Title string `json:"title"`
26339
+ }
26340
+
26341
+ // PersonalFeedItemEnvelope defines model for PersonalFeedItemEnvelope.
26342
+ type PersonalFeedItemEnvelope struct {
26343
+ Data PersonalFeedItem `json:"data"`
26344
+ }
26345
+
26346
+ // PersonalFeedPage defines model for PersonalFeedPage.
26347
+ type PersonalFeedPage struct {
26348
+ Error string `json:"error,omitempty"`
26349
+ Items []PersonalFeedItem `json:"items"`
26350
+ LastUpdatedAt *time.Time `json:"lastUpdatedAt,omitempty"`
26351
+ NextCursor string `json:"nextCursor,omitempty"`
26352
+ SearchTools []PersonalFeedSearchTool `json:"searchTools"`
26353
+ Settings PersonalFeedSettings `json:"settings"`
26354
+ State PersonalFeedPageState `json:"state"`
26355
+ }
26356
+
26357
+ // PersonalFeedPageState defines model for PersonalFeedPage.State.
26358
+ type PersonalFeedPageState string
26359
+
26360
+ // PersonalFeedSearchTool defines model for PersonalFeedSearchTool.
26361
+ type PersonalFeedSearchTool struct {
26362
+ Name string `json:"name"`
26363
+ Title string `json:"title"`
26364
+ }
26365
+
26366
+ // PersonalFeedSettings defines model for PersonalFeedSettings.
26367
+ type PersonalFeedSettings struct {
26368
+ AutoUpdate bool `json:"autoUpdate"`
26369
+ Instructions string `json:"instructions"`
26370
+ SearchTool string `json:"searchTool"`
26371
+ }
26372
+
26373
+ // PersonalFeedSource defines model for PersonalFeedSource.
26374
+ type PersonalFeedSource struct {
26375
+ Excerpt string `json:"excerpt"`
26376
+ Title string `json:"title"`
26377
+ URL string `json:"url"`
26378
+ }
26379
+
26380
+ // PersonalGuestPreparation defines model for PersonalGuestPreparation.
26381
+ type PersonalGuestPreparation struct {
26382
+ BindingID openapi_types.UUID `json:"bindingId"`
26383
+ CertificatePEM string `json:"certificatePEM"`
26384
+
26385
+ // Challenge One-time 32-byte unpadded base64url token. Must not enter logs
26386
+ Challenge string `json:"challenge"`
26387
+ ClientCAPEM string `json:"clientCAPEM"`
26388
+
26389
+ // Endpoint Core-configured HTTPS guest endpoint; never a caller-selected destination.
26390
+ Endpoint string `json:"endpoint"`
26391
+ EnrollmentID openapi_types.UUID `json:"enrollmentId"`
26392
+
26393
+ // ExpiresAt The bootstrap challenge expiry
26394
+ ExpiresAt time.Time `json:"expiresAt"`
26395
+ }
26396
+
26397
+ // PersonalGuestPreparationEnvelope defines model for PersonalGuestPreparationEnvelope.
26398
+ type PersonalGuestPreparationEnvelope struct {
26399
+ Data PersonalGuestPreparation `json:"data"`
26400
+ }
26401
+
26402
+ // PersonalGuestPreparationInput defines model for PersonalGuestPreparationInput.
26403
+ type PersonalGuestPreparationInput struct {
26404
+ // CsrPEM Signed Ed25519 CSR containing only a public key. Requested subject and identity never grant authority.
26405
+ CsrPEM string `json:"csrPEM"`
26406
+ EnvironmentVersion int64 `json:"environmentVersion"`
26407
+ }
26408
+
26409
+ // PersonalGuestRuntime defines model for PersonalGuestRuntime.
26410
+ type PersonalGuestRuntime struct {
26411
+ AssistantID openapi_types.UUID `json:"assistantId"`
26412
+ Browser *struct {
26413
+ ControlID openapi_types.UUID `json:"controlId"`
26414
+ Generation int64 `json:"generation"`
26415
+ Height int `json:"height"`
26416
+ InstanceID openapi_types.UUID `json:"instanceId"`
26417
+ JpegBase64 string `json:"jpegBase64,omitempty"`
26418
+ Text string `json:"text,omitempty"`
26419
+ Title string `json:"title,omitempty"`
26420
+ URL string `json:"url,omitempty"`
26421
+ Width int `json:"width"`
26422
+ } `json:"browser,omitempty"`
26423
+ EnvironmentVersion int64 `json:"environmentVersion"`
26424
+ ExitCode int `json:"exitCode,omitempty"`
26425
+ File *struct {
26426
+ ContentBase64 string `json:"contentBase64,omitempty"`
26427
+ Path string `json:"path"`
26428
+ Sha256 string `json:"sha256"`
26429
+ Size int64 `json:"size"`
26430
+ } `json:"file,omitempty"`
26431
+ ID openapi_types.UUID `json:"id"`
26432
+ Kind PersonalGuestRuntimeKind `json:"kind"`
26433
+ Output string `json:"output,omitempty"`
26434
+ Status PersonalGuestRuntimeStatus `json:"status"`
26435
+ }
26436
+
26437
+ // PersonalGuestRuntimeKind defines model for PersonalGuestRuntime.Kind.
26438
+ type PersonalGuestRuntimeKind string
26439
+
26440
+ // PersonalGuestRuntimeStatus defines model for PersonalGuestRuntime.Status.
26441
+ type PersonalGuestRuntimeStatus string
26442
+
26443
+ // PersonalGuestRuntimeEnvelope defines model for PersonalGuestRuntimeEnvelope.
26444
+ type PersonalGuestRuntimeEnvelope struct {
26445
+ Data PersonalGuestRuntime `json:"data"`
26446
+ }
26447
+
26448
+ // PersonalGuestRuntimeInput defines model for PersonalGuestRuntimeInput.
26449
+ type PersonalGuestRuntimeInput struct {
26450
+ Argv []string `json:"argv,omitempty"`
26451
+ Browser *struct {
26452
+ Action PersonalGuestRuntimeInputBrowserAction `json:"action"`
26453
+ ControlID openapi_types.UUID `json:"controlId,omitempty"`
26454
+ Generation int64 `json:"generation,omitempty"`
26455
+ Selector string `json:"selector,omitempty"`
26456
+ Text string `json:"text,omitempty"`
26457
+ URL string `json:"url,omitempty"`
26458
+ X int `json:"x,omitempty"`
26459
+ Y int `json:"y,omitempty"`
26460
+ } `json:"browser,omitempty"`
26461
+ EnvironmentVersion int64 `json:"environmentVersion"`
26462
+ File *struct {
26463
+ ContentBase64 string `json:"contentBase64,omitempty"`
26464
+ ExpectedSHA256 string `json:"expectedSHA256,omitempty"`
26465
+ Path string `json:"path"`
26466
+ } `json:"file,omitempty"`
26467
+ IdempotencyKey string `json:"idempotencyKey"`
26468
+ Kind PersonalGuestRuntimeInputKind `json:"kind"`
26469
+ }
26470
+
26471
+ // PersonalGuestRuntimeInputBrowserAction defines model for PersonalGuestRuntimeInput.Browser.Action.
26472
+ type PersonalGuestRuntimeInputBrowserAction string
26473
+
26474
+ // PersonalGuestRuntimeInputKind defines model for PersonalGuestRuntimeInput.Kind.
26475
+ type PersonalGuestRuntimeInputKind string
26476
+
26477
+ // PersonalGuestToolsInput defines model for PersonalGuestToolsInput.
26478
+ type PersonalGuestToolsInput struct {
26479
+ EnvironmentVersion int64 `json:"environmentVersion"`
26480
+ IdempotencyKey string `json:"idempotencyKey"`
26481
+ }
26482
+
26483
+ // PersonalVMEnvironmentPolicy Administrator assignment of an existing Soha-managed PVE VM and independent data disk to one user. The server checks administrator VM access update scope and the current approved owner's VM view scope. Binding freezes fresh provider and disk identity; saving or binding does not initialize data or grant runtime readiness. No provider URL, credential, root disk or arbitrary device path is accepted.
26484
+ type PersonalVMEnvironmentPolicy struct {
26485
+ // ComputeRef Soha VM ID
26486
+ ComputeRef openapi_types.UUID `json:"computeRef"`
26487
+
26488
+ // DataDiskBytes Exact independent disk size in whole GiB.
26489
+ DataDiskBytes int64 `json:"dataDiskBytes"`
26490
+ DataDiskSerial string `json:"dataDiskSerial"`
26491
+ LeaseSeconds int `json:"leaseSeconds"`
26492
+ OwnerID openapi_types.UUID `json:"ownerId"`
26493
+ Provider PersonalVMEnvironmentPolicyProvider `json:"provider"`
26494
+ Quota PersonalEnvironmentQuota `json:"quota"`
26495
+ }
26496
+
26497
+ // PersonalVMEnvironmentPolicyProvider defines model for PersonalVMEnvironmentPolicy.Provider.
26498
+ type PersonalVMEnvironmentPolicyProvider string
26499
+
26500
+ // PersonalWorkspaceRuntime defines model for PersonalWorkspaceRuntime.
26501
+ type PersonalWorkspaceRuntime struct {
26502
+ AssistantID openapi_types.UUID `json:"assistantId"`
26503
+ BrowserControl *struct {
26504
+ ControlID openapi_types.UUID `json:"controlId"`
26505
+ ExpiresAt time.Time `json:"expiresAt"`
26506
+ Generation int64 `json:"generation"`
26507
+ InstanceID openapi_types.UUID `json:"instanceId,omitempty"`
26508
+ Owner PersonalWorkspaceRuntimeBrowserControlOwner `json:"owner"`
26509
+ TaskID openapi_types.UUID `json:"taskId,omitempty"`
26510
+ } `json:"browserControl,omitempty"`
26511
+ EnvironmentVersion int64 `json:"environmentVersion"`
26512
+ Latest *PersonalGuestRuntime `json:"latest,omitempty"`
26513
+ }
26514
+
26515
+ // PersonalWorkspaceRuntimeBrowserControlOwner defines model for PersonalWorkspaceRuntime.BrowserControl.Owner.
26516
+ type PersonalWorkspaceRuntimeBrowserControlOwner string
26517
+
26518
+ // PersonalWorkspaceRuntimeEnvelope defines model for PersonalWorkspaceRuntimeEnvelope.
26519
+ type PersonalWorkspaceRuntimeEnvelope struct {
26520
+ Data PersonalWorkspaceRuntime `json:"data"`
26521
+ }
26522
+
24751
26523
  // PlatformAuditLog defines model for PlatformAuditLog.
24752
26524
  type PlatformAuditLog struct {
24753
26525
  Action string `json:"action"`
@@ -26131,6 +27903,7 @@ type ScopeGrantType string
26131
27903
 
26132
27904
  // SecretBinding defines model for SecretBinding.
26133
27905
  type SecretBinding struct {
27906
+ Purpose SecretPurpose `json:"purpose,omitempty"`
26134
27907
  TargetRef string `json:"targetRef"`
26135
27908
  TargetType SecretBindingTargetType `json:"targetType"`
26136
27909
  }
@@ -26140,15 +27913,29 @@ type SecretBindingTargetType string
26140
27913
 
26141
27914
  // SecretCreateRequest Exactly one of value or vaultKv2 must be provided.
26142
27915
  type SecretCreateRequest struct {
26143
- Bindings []SecretBinding `json:"bindings,omitempty"`
26144
- Description string `json:"description,omitempty"`
26145
- Name string `json:"name"`
26146
- ScopeID string `json:"scopeId"`
26147
- ScopeType SecretScopeType `json:"scopeType"`
26148
- Value string `json:"value,omitempty"`
26149
- VaultKv2 *SecretVaultKV2Reference `json:"vaultKv2,omitempty"`
27916
+ Bindings []SecretBinding `json:"bindings,omitempty"`
27917
+ Description string `json:"description,omitempty"`
27918
+ Kind SecretKind `json:"kind,omitempty"`
27919
+ Name string `json:"name"`
27920
+ ScopeID string `json:"scopeId"`
27921
+ ScopeType SecretScopeType `json:"scopeType"`
27922
+ SSHPassphrase string `json:"sshPassphrase,omitempty"`
27923
+ Value string `json:"value,omitempty"`
27924
+ VaultKv2 *SecretVaultKV2Reference `json:"vaultKv2,omitempty"`
27925
+ }
27926
+
27927
+ // SecretGenerateSSHKeyRequest defines model for SecretGenerateSSHKeyRequest.
27928
+ type SecretGenerateSSHKeyRequest struct {
27929
+ Bindings []SecretBinding `json:"bindings"`
27930
+ Description string `json:"description,omitempty"`
27931
+ Name string `json:"name"`
27932
+ ScopeID string `json:"scopeId"`
27933
+ ScopeType SecretScopeType `json:"scopeType"`
26150
27934
  }
26151
27935
 
27936
+ // SecretKind defines model for SecretKind.
27937
+ type SecretKind string
27938
+
26152
27939
  // SecretLeaseGrant defines model for SecretLeaseGrant.
26153
27940
  type SecretLeaseGrant struct {
26154
27941
  ExpiresAt time.Time `json:"expiresAt"`
@@ -26172,17 +27959,19 @@ type SecretLeaseRedemptionEnvelope struct {
26172
27959
 
26173
27960
  // SecretMetadata defines model for SecretMetadata.
26174
27961
  type SecretMetadata struct {
26175
- Bindings []SecretBinding `json:"bindings"`
26176
- CreatedAt time.Time `json:"createdAt"`
26177
- CreatedBy string `json:"createdBy"`
26178
- CurrentVersion int `json:"currentVersion"`
26179
- Description string `json:"description,omitempty"`
26180
- ID string `json:"id"`
26181
- Name string `json:"name"`
26182
- ScopeID string `json:"scopeId"`
26183
- ScopeType SecretScopeType `json:"scopeType"`
26184
- Status SecretStatus `json:"status"`
26185
- UpdatedAt time.Time `json:"updatedAt"`
27962
+ Bindings []SecretBinding `json:"bindings"`
27963
+ CreatedAt time.Time `json:"createdAt"`
27964
+ CreatedBy string `json:"createdBy"`
27965
+ CurrentVersion int `json:"currentVersion"`
27966
+ Description string `json:"description,omitempty"`
27967
+ ID string `json:"id"`
27968
+ Kind SecretKind `json:"kind,omitempty"`
27969
+ Name string `json:"name"`
27970
+ PublicKey *SecretSSHPublicKey `json:"publicKey,omitempty"`
27971
+ ScopeID string `json:"scopeId"`
27972
+ ScopeType SecretScopeType `json:"scopeType"`
27973
+ Status SecretStatus `json:"status"`
27974
+ UpdatedAt time.Time `json:"updatedAt"`
26186
27975
  }
26187
27976
 
26188
27977
  // SecretMetadataEnvelope defines model for SecretMetadataEnvelope.
@@ -26195,13 +27984,41 @@ type SecretMetadataListEnvelope struct {
26195
27984
  Items []SecretMetadata `json:"items"`
26196
27985
  }
26197
27986
 
27987
+ // SecretPurpose defines model for SecretPurpose.
27988
+ type SecretPurpose string
27989
+
26198
27990
  // SecretReferenceMap defines model for SecretReferenceMap.
26199
27991
  type SecretReferenceMap map[string]string
26200
27992
 
27993
+ // SecretReferenceUsage defines model for SecretReferenceUsage.
27994
+ type SecretReferenceUsage struct {
27995
+ BindingRevision int `json:"bindingRevision,omitempty"`
27996
+ Status string `json:"status"`
27997
+ TargetID string `json:"targetId"`
27998
+
27999
+ // Usage login_binding, ssh_session or cloud_init_operation. Historical initialization does not assert that the guest still trusts this key.
28000
+ Usage string `json:"usage"`
28001
+ Version int `json:"version"`
28002
+ VMID string `json:"vmId,omitempty"`
28003
+ }
28004
+
28005
+ // SecretReferenceUsageListEnvelope defines model for SecretReferenceUsageListEnvelope.
28006
+ type SecretReferenceUsageListEnvelope struct {
28007
+ Items []SecretReferenceUsage `json:"items"`
28008
+ }
28009
+
26201
28010
  // SecretRotateRequest Exactly one of value or vaultKv2 must be provided.
26202
28011
  type SecretRotateRequest struct {
26203
- Value string `json:"value,omitempty"`
26204
- VaultKv2 *SecretVaultKV2Reference `json:"vaultKv2,omitempty"`
28012
+ SSHPassphrase string `json:"sshPassphrase,omitempty"`
28013
+ Value string `json:"value,omitempty"`
28014
+ VaultKv2 *SecretVaultKV2Reference `json:"vaultKv2,omitempty"`
28015
+ }
28016
+
28017
+ // SecretSSHPublicKey defines model for SecretSSHPublicKey.
28018
+ type SecretSSHPublicKey struct {
28019
+ Algorithm string `json:"algorithm"`
28020
+ AuthorizedKey string `json:"authorizedKey"`
28021
+ Fingerprint string `json:"fingerprint"`
26205
28022
  }
26206
28023
 
26207
28024
  // SecretScopeType defines model for SecretScopeType.
@@ -26230,6 +28047,8 @@ type SecretVaultKV2Reference struct {
26230
28047
  type SecretVersionMetadata struct {
26231
28048
  CreatedAt time.Time `json:"createdAt"`
26232
28049
  CreatedBy string `json:"createdBy"`
28050
+ Kind SecretKind `json:"kind,omitempty"`
28051
+ PublicKey *SecretSSHPublicKey `json:"publicKey,omitempty"`
26233
28052
  RevokedAt *time.Time `json:"revokedAt,omitempty"`
26234
28053
  SecretID string `json:"secretId"`
26235
28054
  Status SecretVersionStatus `json:"status"`
@@ -26962,6 +28781,14 @@ type UserProfileEnvelope struct {
26962
28781
  Data UserProfile `json:"data"`
26963
28782
  }
26964
28783
 
28784
+ // VMSSHCredentialRedemptionInput defines model for VMSSHCredentialRedemptionInput.
28785
+ type VMSSHCredentialRedemptionInput struct {
28786
+ AgentID string `json:"agentId"`
28787
+ ClusterID string `json:"clusterId"`
28788
+ LeaseID string `json:"leaseId"`
28789
+ Token string `json:"token,omitempty"`
28790
+ }
28791
+
26965
28792
  // VirtualMachine defines model for VirtualMachine.
26966
28793
  type VirtualMachine struct {
26967
28794
  AllowedActions []string `json:"allowedActions,omitempty"`
@@ -26998,6 +28825,45 @@ type VirtualMachine struct {
26998
28825
  UpdatedAt *time.Time `json:"updatedAt,omitempty"`
26999
28826
  }
27000
28827
 
28828
+ // VirtualMachineAccessBinding defines model for VirtualMachineAccessBinding.
28829
+ type VirtualMachineAccessBinding struct {
28830
+ Address string `json:"address"`
28831
+ CredentialRef string `json:"credentialRef"`
28832
+ ExecutionAgentID string `json:"executionAgentId"`
28833
+ ExecutionClusterID string `json:"executionClusterId"`
28834
+ Generation string `json:"generation"`
28835
+ HostKeyFingerprint string `json:"hostKeyFingerprint"`
28836
+ Port int `json:"port"`
28837
+ ProviderVMID string `json:"providerVmId"`
28838
+ Reason string `json:"reason,omitempty"`
28839
+ Revision int `json:"revision"`
28840
+ SourceID string `json:"sourceId"`
28841
+ Status VirtualMachineAccessBindingStatus `json:"status"`
28842
+ UpdatedAt *time.Time `json:"updatedAt,omitempty"`
28843
+ Username string `json:"username"`
28844
+ VMID string `json:"vmId"`
28845
+ }
28846
+
28847
+ // VirtualMachineAccessBindingStatus defines model for VirtualMachineAccessBinding.Status.
28848
+ type VirtualMachineAccessBindingStatus string
28849
+
28850
+ // VirtualMachineAccessBindingEnvelope defines model for VirtualMachineAccessBindingEnvelope.
28851
+ type VirtualMachineAccessBindingEnvelope struct {
28852
+ Data VirtualMachineAccessBinding `json:"data"`
28853
+ }
28854
+
28855
+ // VirtualMachineAccessBindingInput Metadata binding only; it does not install guest keys or alter VM configuration. Host keys must be independently verified by an authorized human before binding.
28856
+ type VirtualMachineAccessBindingInput struct {
28857
+ Address string `json:"address"`
28858
+ CredentialRef string `json:"credentialRef"`
28859
+ ExecutionAgentID string `json:"executionAgentId"`
28860
+ ExecutionClusterID string `json:"executionClusterId"`
28861
+ ExpectedRevision int `json:"expectedRevision"`
28862
+ Port int `json:"port"`
28863
+ TrustedHostKey string `json:"trustedHostKey"`
28864
+ Username string `json:"username"`
28865
+ }
28866
+
27001
28867
  // VirtualMachineActionInput defines model for VirtualMachineActionInput.
27002
28868
  type VirtualMachineActionInput struct {
27003
28869
  Action VirtualMachineActionInputAction `json:"action"`
@@ -27009,6 +28875,9 @@ type VirtualMachineActionInput struct {
27009
28875
  Disks []VirtualMachineDiskChange `json:"disks,omitempty"`
27010
28876
  MemoryMiB int `json:"memoryMiB,omitempty"`
27011
28877
  Networks []VirtualMachineNetworkChange `json:"networks,omitempty"`
28878
+
28879
+ // RequireCapacity Require fresh atomic capacity admission for start, reboot or resize even when cluster policy is unconfigured. False never bypasses an enforced policy. New disks require fixed slots, storage and serial identity; multiple storage pools require separate operations.
28880
+ RequireCapacity bool `json:"requireCapacity,omitempty"`
27012
28881
  }
27013
28882
 
27014
28883
  // VirtualMachineActionInputAction defines model for VirtualMachineActionInput.Action.
@@ -27037,26 +28906,31 @@ type VirtualMachineCreateInput struct {
27037
28906
  BootImageID string `json:"bootImageId,omitempty"`
27038
28907
 
27039
28908
  // CloudInit Sensitive bootstrap content. It is accepted for backward compatibility and never returned by plan or audit responses.
27040
- CloudInit string `json:"cloudInit,omitempty"`
27041
- ConnectionID string `json:"connectionId"`
27042
- CPU int `json:"cpu,omitempty"`
27043
- DiskGiB int `json:"diskGiB,omitempty"`
27044
- Disks []VirtualMachineDiskChange `json:"disks,omitempty"`
27045
- FlavorID string `json:"flavorId,omitempty"`
27046
- ImageID string `json:"imageId,omitempty"`
27047
- MemoryMiB int `json:"memoryMiB,omitempty"`
27048
- Name string `json:"name"`
27049
- Namespace string `json:"namespace,omitempty"`
27050
- Network string `json:"network,omitempty"`
27051
- Networks []VirtualMachineNetworkChange `json:"networks,omitempty"`
27052
- Node string `json:"node,omitempty"`
28909
+ CloudInit string `json:"cloudInit,omitempty"`
28910
+ ConnectionID string `json:"connectionId"`
28911
+ CPU int `json:"cpu,omitempty"`
28912
+ DiskGiB int `json:"diskGiB,omitempty"`
28913
+ Disks []VirtualMachineDiskChange `json:"disks,omitempty"`
28914
+ FlavorID string `json:"flavorId,omitempty"`
28915
+
28916
+ // GuestAccess Managed first-boot public-key initialization. Requires a verified cloud-init image and excludes raw cloudInit and native sshkeys/cicustom fields. The server freezes each Secret version; private keys are never sent to the guest.
28917
+ GuestAccess *VirtualMachineGuestAccessInput `json:"guestAccess,omitempty"`
28918
+ ImageID string `json:"imageId,omitempty"`
28919
+ MemoryMiB int `json:"memoryMiB,omitempty"`
28920
+ Name string `json:"name"`
28921
+ Namespace string `json:"namespace,omitempty"`
28922
+ Network string `json:"network,omitempty"`
28923
+ Networks []VirtualMachineNetworkChange `json:"networks,omitempty"`
28924
+ Node string `json:"node,omitempty"`
27053
28925
 
27054
28926
  // ProviderParams Native provider-compatible JSON. Unknown fields are preserved and responses are not wrapped in an OpenSoha envelope.
27055
28927
  ProviderParams *NativeProviderObject `json:"providerParams,omitempty"`
27056
28928
 
27057
- // RequireCapacity Require fresh provider capacity and reserve node CPU, memory and storage atomically with this operation. Missing inventory or unsupported placement fails closed. This controls concurrent Soha admission; provider admission and runtime readiness remain authoritative.
27058
- RequireCapacity bool `json:"requireCapacity,omitempty"`
27059
- SourceID string `json:"sourceId,omitempty"`
28929
+ // RequireCapacity Require fresh provider capacity and reserve node CPU, memory and storage atomically with this operation. Missing inventory or unsupported placement fails closed. An enforced source policy always requires admission, including when this field is false. Unconfigured legacy sources retain the explicit opt-in behavior. Provider admission and runtime readiness remain authoritative.
28930
+ RequireCapacity bool `json:"requireCapacity,omitempty"`
28931
+ SourceID string `json:"sourceId,omitempty"`
28932
+
28933
+ // SourceMode PVE supports template_clone, vm_clone, iso_install and cloud_image. cloud_image imports a verified catalog QCOW2 volume into this new VM; it does not create or modify a source VM.
27060
28934
  SourceMode string `json:"sourceMode,omitempty"`
27061
28935
  StartAfterCreate bool `json:"startAfterCreate,omitempty"`
27062
28936
  TemplateID string `json:"templateId,omitempty"`
@@ -27100,10 +28974,13 @@ type VirtualMachineDeviceListEnvelope struct {
27100
28974
 
27101
28975
  // VirtualMachineDiskChange defines model for VirtualMachineDiskChange.
27102
28976
  type VirtualMachineDiskChange struct {
27103
- Add bool `json:"add,omitempty"`
27104
- Bus string `json:"bus,omitempty"`
27105
- ID string `json:"id,omitempty"`
27106
- Name string `json:"name,omitempty"`
28977
+ Add bool `json:"add,omitempty"`
28978
+ Bus string `json:"bus,omitempty"`
28979
+ ID string `json:"id,omitempty"`
28980
+ Name string `json:"name,omitempty"`
28981
+
28982
+ // Serial Immutable guest-visible identity for a newly added PVE disk. Only accepted with add=true; resizing an existing disk preserves its identity. Providers without disk-identity support reject the request before modifying resources.
28983
+ Serial string `json:"serial,omitempty"`
27107
28984
  SizeGiB int `json:"sizeGiB,omitempty"`
27108
28985
  Storage string `json:"storage,omitempty"`
27109
28986
  }
@@ -27113,6 +28990,12 @@ type VirtualMachineEnvelope struct {
27113
28990
  Data VirtualMachine `json:"data"`
27114
28991
  }
27115
28992
 
28993
+ // VirtualMachineGuestAccessInput Managed first-boot public-key initialization. Requires a verified cloud-init image and excludes raw cloudInit and native sshkeys/cicustom fields. The server freezes each Secret version; private keys are never sent to the guest.
28994
+ type VirtualMachineGuestAccessInput struct {
28995
+ PublicKeyRefs []string `json:"publicKeyRefs"`
28996
+ Username string `json:"username"`
28997
+ }
28998
+
27116
28999
  // VirtualMachineListEnvelope defines model for VirtualMachineListEnvelope.
27117
29000
  type VirtualMachineListEnvelope struct {
27118
29001
  Items []VirtualMachine `json:"items"`
@@ -27177,6 +29060,104 @@ type VirtualMachinePowerInput struct {
27177
29060
  // VirtualMachinePowerInputAction defines model for VirtualMachinePowerInput.Action.
27178
29061
  type VirtualMachinePowerInputAction string
27179
29062
 
29063
+ // VirtualMachineSSHCommand defines model for VirtualMachineSSHCommand.
29064
+ type VirtualMachineSSHCommand struct {
29065
+ BindingRevision int `json:"bindingRevision"`
29066
+ ExitCode *int `json:"exitCode,omitempty"`
29067
+ FinishedAt *time.Time `json:"finishedAt,omitempty"`
29068
+ ID string `json:"id"`
29069
+ Outcome VirtualMachineSSHCommandOutcome `json:"outcome"`
29070
+ OutputDigest string `json:"outputDigest,omitempty"`
29071
+ OutputTruncated bool `json:"outputTruncated,omitempty"`
29072
+ Status string `json:"status"`
29073
+ Stderr string `json:"stderr,omitempty"`
29074
+ Stdout string `json:"stdout,omitempty"`
29075
+ Terminal bool `json:"terminal"`
29076
+ VMID string `json:"vmId"`
29077
+ }
29078
+
29079
+ // VirtualMachineSSHCommandOutcome defines model for VirtualMachineSSHCommand.Outcome.
29080
+ type VirtualMachineSSHCommandOutcome string
29081
+
29082
+ // VirtualMachineSSHCommandEnvelope defines model for VirtualMachineSSHCommandEnvelope.
29083
+ type VirtualMachineSSHCommandEnvelope struct {
29084
+ Data VirtualMachineSSHCommand `json:"data"`
29085
+ }
29086
+
29087
+ // VirtualMachineSSHCommandInput defines model for VirtualMachineSSHCommandInput.
29088
+ type VirtualMachineSSHCommandInput struct {
29089
+ BindingRevision int `json:"bindingRevision"`
29090
+ Command string `json:"command"`
29091
+ IdempotencyKey string `json:"idempotencyKey"`
29092
+ TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
29093
+ }
29094
+
29095
+ // VirtualMachineSSHFrame defines model for VirtualMachineSSHFrame.
29096
+ type VirtualMachineSSHFrame struct {
29097
+ Cols int `json:"cols,omitempty"`
29098
+ Data string `json:"data,omitempty"`
29099
+
29100
+ // DataEncoding Base64 carries exact terminal bytes including split UTF-8 sequences. Omitted means utf8 for legacy inputs.
29101
+ DataEncoding VirtualMachineSSHFrameDataEncoding `json:"dataEncoding,omitempty"`
29102
+ ExitCode *int `json:"exitCode,omitempty"`
29103
+ Message string `json:"message,omitempty"`
29104
+ Rows int `json:"rows,omitempty"`
29105
+ Type VirtualMachineSSHFrameType `json:"type"`
29106
+ }
29107
+
29108
+ // VirtualMachineSSHFrameDataEncoding Base64 carries exact terminal bytes including split UTF-8 sequences. Omitted means utf8 for legacy inputs.
29109
+ type VirtualMachineSSHFrameDataEncoding string
29110
+
29111
+ // VirtualMachineSSHFrameType defines model for VirtualMachineSSHFrame.Type.
29112
+ type VirtualMachineSSHFrameType string
29113
+
29114
+ // VirtualMachineSSHSession defines model for VirtualMachineSSHSession.
29115
+ type VirtualMachineSSHSession struct {
29116
+ BindingRevision int `json:"bindingRevision"`
29117
+ ExpiresAt time.Time `json:"expiresAt"`
29118
+ ID string `json:"id"`
29119
+ Reason string `json:"reason,omitempty"`
29120
+ Status VirtualMachineSSHSessionStatus `json:"status"`
29121
+ VMID string `json:"vmId"`
29122
+ }
29123
+
29124
+ // VirtualMachineSSHSessionStatus defines model for VirtualMachineSSHSession.Status.
29125
+ type VirtualMachineSSHSessionStatus string
29126
+
29127
+ // VirtualMachineSSHSessionEnvelope defines model for VirtualMachineSSHSessionEnvelope.
29128
+ type VirtualMachineSSHSessionEnvelope struct {
29129
+ Data VirtualMachineSSHSession `json:"data"`
29130
+ }
29131
+
29132
+ // VirtualMachineSSHSessionInput defines model for VirtualMachineSSHSessionInput.
29133
+ type VirtualMachineSSHSessionInput struct {
29134
+ BindingRevision int `json:"bindingRevision"`
29135
+ Cols int `json:"cols,omitempty"`
29136
+ Rows int `json:"rows,omitempty"`
29137
+ }
29138
+
29139
+ // VirtualizationCapacityCheckDiagnostic defines model for VirtualizationCapacityCheckDiagnostic.
29140
+ type VirtualizationCapacityCheckDiagnostic struct {
29141
+ Available int `json:"available"`
29142
+ Check VirtualizationCapacityCheckDiagnosticCheck `json:"check"`
29143
+ Committed int `json:"committed"`
29144
+ Demand int `json:"demand"`
29145
+ Dimension VirtualizationCapacityCheckDiagnosticDimension `json:"dimension"`
29146
+ Limit int `json:"limit"`
29147
+ Pending int `json:"pending"`
29148
+ Reason string `json:"reason"`
29149
+ Status VirtualizationCapacityCheckDiagnosticStatus `json:"status"`
29150
+ }
29151
+
29152
+ // VirtualizationCapacityCheckDiagnosticCheck defines model for VirtualizationCapacityCheckDiagnostic.Check.
29153
+ type VirtualizationCapacityCheckDiagnosticCheck string
29154
+
29155
+ // VirtualizationCapacityCheckDiagnosticDimension defines model for VirtualizationCapacityCheckDiagnostic.Dimension.
29156
+ type VirtualizationCapacityCheckDiagnosticDimension string
29157
+
29158
+ // VirtualizationCapacityCheckDiagnosticStatus defines model for VirtualizationCapacityCheckDiagnostic.Status.
29159
+ type VirtualizationCapacityCheckDiagnosticStatus string
29160
+
27180
29161
  // VirtualizationCapacityEnvelope defines model for VirtualizationCapacityEnvelope.
27181
29162
  type VirtualizationCapacityEnvelope struct {
27182
29163
  // Data A read-only, expiring placement suggestion for one running VM and root disk. Missing or unsupported inventory remains unknown. Creation must independently require atomic capacity admission; this result is not a reservation or a readiness assessment.
@@ -27199,23 +29180,71 @@ type VirtualizationCapacityInput struct {
27199
29180
  Namespace string `json:"namespace,omitempty"`
27200
29181
 
27201
29182
  // Node Optional exact provider node constraint.
27202
- Node string `json:"node,omitempty"`
29183
+ Node string `json:"node,omitempty"`
29184
+ StartAfterCreate *bool `json:"startAfterCreate,omitempty"`
27203
29185
 
27204
29186
  // Storage Optional exact PVE storage name or KubeVirt StorageClass.
27205
29187
  Storage string `json:"storage,omitempty"`
27206
29188
  }
27207
29189
 
29190
+ // VirtualizationCapacityNodeDiagnostic defines model for VirtualizationCapacityNodeDiagnostic.
29191
+ type VirtualizationCapacityNodeDiagnostic struct {
29192
+ Checks []VirtualizationCapacityCheckDiagnostic `json:"checks"`
29193
+ Node string `json:"node"`
29194
+ Storage string `json:"storage,omitempty"`
29195
+ }
29196
+
29197
+ // VirtualizationCapacityPolicy defines model for VirtualizationCapacityPolicy.
29198
+ type VirtualizationCapacityPolicy struct {
29199
+ CPU VirtualizationOvercommitPolicy `json:"cpu"`
29200
+ Memory VirtualizationMemoryOvercommitPolicy `json:"memory"`
29201
+ Mode VirtualizationCapacityPolicyMode `json:"mode"`
29202
+ Revision int `json:"revision"`
29203
+
29204
+ // SourceConfirmed New PVE sources use a strict 100 percent policy and cannot admit until an administrator confirms their physical source identity.
29205
+ SourceConfirmed bool `json:"sourceConfirmed,omitempty"`
29206
+ SourceID string `json:"sourceId"`
29207
+ UpdatedAt *time.Time `json:"updatedAt,omitempty"`
29208
+ UpdatedBy string `json:"updatedBy,omitempty"`
29209
+ }
29210
+
29211
+ // VirtualizationCapacityPolicyEnvelope defines model for VirtualizationCapacityPolicyEnvelope.
29212
+ type VirtualizationCapacityPolicyEnvelope struct {
29213
+ Data VirtualizationCapacityPolicy `json:"data"`
29214
+ }
29215
+
29216
+ // VirtualizationCapacityPolicyInput defines model for VirtualizationCapacityPolicyInput.
29217
+ type VirtualizationCapacityPolicyInput struct {
29218
+ CPU VirtualizationOvercommitPolicy `json:"cpu"`
29219
+ ExpectedRevision int `json:"expectedRevision"`
29220
+ Memory VirtualizationMemoryOvercommitPolicy `json:"memory"`
29221
+ Mode VirtualizationCapacityPolicyInputMode `json:"mode"`
29222
+
29223
+ // PhysicalSourceID Administrator-confirmed identity of one physical PVE source. All aliases must join this identity before admission. Ordinary VM callers cannot choose a source.
29224
+ PhysicalSourceID string `json:"physicalSourceId,omitempty"`
29225
+ }
29226
+
29227
+ // VirtualizationCapacityPolicyInputMode defines model for VirtualizationCapacityPolicyInput.Mode.
29228
+ type VirtualizationCapacityPolicyInputMode string
29229
+
29230
+ // VirtualizationCapacityPolicyMode defines model for VirtualizationCapacityPolicyMode.
29231
+ type VirtualizationCapacityPolicyMode string
29232
+
27208
29233
  // VirtualizationCapacityResult A read-only, expiring placement suggestion for one running VM and root disk. Missing or unsupported inventory remains unknown. Creation must independently require atomic capacity admission; this result is not a reservation or a readiness assessment.
27209
29234
  type VirtualizationCapacityResult struct {
27210
- ConnectionID string `json:"connectionId"`
27211
- Namespace string `json:"namespace,omitempty"`
27212
- Node string `json:"node,omitempty"`
27213
- ObservedAt *time.Time `json:"observedAt,omitempty"`
27214
- Provider string `json:"provider,omitempty"`
27215
- Reason string `json:"reason"`
27216
- Status VirtualizationCapacityResultStatus `json:"status"`
27217
- Storage string `json:"storage,omitempty"`
27218
- ValidUntil *time.Time `json:"validUntil,omitempty"`
29235
+ ConnectionID string `json:"connectionId"`
29236
+ Diagnostics []VirtualizationCapacityNodeDiagnostic `json:"diagnostics,omitempty"`
29237
+ Namespace string `json:"namespace,omitempty"`
29238
+ Node string `json:"node,omitempty"`
29239
+ ObservedAt *time.Time `json:"observedAt,omitempty"`
29240
+ PolicyMode VirtualizationCapacityPolicyMode `json:"policyMode,omitempty"`
29241
+ PolicyRevision int `json:"policyRevision,omitempty"`
29242
+ Provider string `json:"provider,omitempty"`
29243
+ Reason string `json:"reason"`
29244
+ SourceID string `json:"sourceId,omitempty"`
29245
+ Status VirtualizationCapacityResultStatus `json:"status"`
29246
+ Storage string `json:"storage,omitempty"`
29247
+ ValidUntil *time.Time `json:"validUntil,omitempty"`
27219
29248
  }
27220
29249
 
27221
29250
  // VirtualizationCapacityResultStatus defines model for VirtualizationCapacityResult.Status.
@@ -27435,11 +29464,15 @@ type VirtualizationImageInput struct {
27435
29464
  Provider string `json:"provider,omitempty"`
27436
29465
  SizeBytes int64 `json:"sizeBytes,omitempty"`
27437
29466
  SizeGiB int64 `json:"sizeGiB,omitempty"`
27438
- SourceKind string `json:"sourceKind,omitempty"`
27439
- SourceRef string `json:"sourceRef,omitempty"`
27440
- Status string `json:"status,omitempty"`
27441
- StorageClass string `json:"storageClass,omitempty"`
27442
- URL string `json:"url,omitempty"`
29467
+
29468
+ // SourceKind PVE cloud_image declares an already staged QCOW2 import volume. cloudInitSupported must be explicitly true for managed guest initialization.
29469
+ SourceKind string `json:"sourceKind,omitempty"`
29470
+
29471
+ // SourceRef For PVE cloud_image use storage:import/<SHA256>.qcow2 sealed with the filesystem immutable flag. The provider verifies immutability, format, digest, absence of backing files and requested root size before dispatch. Catalog creation registers metadata and does not itself upload a file.
29472
+ SourceRef string `json:"sourceRef,omitempty"`
29473
+ Status string `json:"status,omitempty"`
29474
+ StorageClass string `json:"storageClass,omitempty"`
29475
+ URL string `json:"url,omitempty"`
27443
29476
  }
27444
29477
 
27445
29478
  // VirtualizationImageListEnvelope defines model for VirtualizationImageListEnvelope.
@@ -27460,6 +29493,12 @@ type VirtualizationImagePageEnvelope struct {
27460
29493
  Data VirtualizationImagePage `json:"data"`
27461
29494
  }
27462
29495
 
29496
+ // VirtualizationMemoryOvercommitPolicy defines model for VirtualizationMemoryOvercommitPolicy.
29497
+ type VirtualizationMemoryOvercommitPolicy struct {
29498
+ Enabled bool `json:"enabled"`
29499
+ Percent int `json:"percent"`
29500
+ }
29501
+
27463
29502
  // VirtualizationOperation Durable virtualization operation. A canceling operation has requested cancellation but provider effects are not yet confirmed; terminal status alone does not prove resource rollback. VM creation preserves its provider identity across retry.
27464
29503
  type VirtualizationOperation struct {
27465
29504
  Action string `json:"action,omitempty"`
@@ -27534,6 +29573,12 @@ type VirtualizationOperationPageEnvelope struct {
27534
29573
  Data VirtualizationOperationPage `json:"data"`
27535
29574
  }
27536
29575
 
29576
+ // VirtualizationOvercommitPolicy defines model for VirtualizationOvercommitPolicy.
29577
+ type VirtualizationOvercommitPolicy struct {
29578
+ Enabled bool `json:"enabled"`
29579
+ Percent int `json:"percent"`
29580
+ }
29581
+
27537
29582
  // VirtualizationWorkerCreateInput defines model for VirtualizationWorkerCreateInput.
27538
29583
  type VirtualizationWorkerCreateInput struct {
27539
29584
  IdempotencyKey string `json:"idempotencyKey"`
@@ -27695,21 +29740,24 @@ type WorkbenchAgentRun struct {
27695
29740
  CapabilityID string `json:"capabilityId"`
27696
29741
 
27697
29742
  // Chat Conversation input carried in AgentRun.chat for capabilityId general. History contains prior user and successful assistant messages, oldest first; the current question is separate. The control plane bounds total history and reports omitted messages through historyTruncated. This is conversation data, not an authorization grant or a request to run an analysis workflow.
27698
- Chat *AgentChatInput `json:"chat,omitempty"`
27699
- ClaimedByAgentID string `json:"claimedByAgentId,omitempty"`
27700
- CompletedAt *time.Time `json:"completedAt,omitempty"`
27701
- CreatedAt time.Time `json:"createdAt"`
27702
- CreatedBy string `json:"createdBy"`
27703
- ErrorMessage string `json:"errorMessage,omitempty"`
27704
- ExternalRunID string `json:"externalRunId,omitempty"`
27705
- ID string `json:"id"`
27706
- Input map[string]any `json:"input,omitempty"`
27707
- LastHeartbeatAt *time.Time `json:"lastHeartbeatAt,omitempty"`
27708
- OperationState *WorkbenchOperationState `json:"operationState,omitempty"`
27709
- Output map[string]any `json:"output,omitempty"`
29743
+ Chat *AgentChatInput `json:"chat,omitempty"`
29744
+ ClaimedByAgentID string `json:"claimedByAgentId,omitempty"`
29745
+ CompletedAt *time.Time `json:"completedAt,omitempty"`
29746
+ CreatedAt time.Time `json:"createdAt"`
29747
+ CreatedBy string `json:"createdBy"`
29748
+ ErrorMessage string `json:"errorMessage,omitempty"`
29749
+ EventSequence int `json:"eventSequence,omitempty"`
29750
+ ExecutionOwner WorkbenchAgentRunExecutionOwner `json:"executionOwner,omitempty"`
29751
+ ExternalRunID string `json:"externalRunId,omitempty"`
29752
+ ID string `json:"id"`
29753
+ Input map[string]any `json:"input,omitempty"`
29754
+ LastHeartbeatAt *time.Time `json:"lastHeartbeatAt,omitempty"`
29755
+ OperationState *WorkbenchOperationState `json:"operationState,omitempty"`
29756
+ Output map[string]any `json:"output,omitempty"`
27710
29757
 
27711
29758
  // ParentRunID Parent run for a single read-only specialist delegation; absent on root runs.
27712
29759
  ParentRunID string `json:"parentRunId,omitempty"`
29760
+ Phase string `json:"phase,omitempty"`
27713
29761
  ProviderID string `json:"providerId"`
27714
29762
  ProviderKind string `json:"providerKind"`
27715
29763
  QueuedAt time.Time `json:"queuedAt"`
@@ -27720,18 +29768,28 @@ type WorkbenchAgentRun struct {
27720
29768
  SkillIDs []string `json:"skillIds,omitempty"`
27721
29769
  StartedAt *time.Time `json:"startedAt,omitempty"`
27722
29770
  Status string `json:"status"`
29771
+ StopReason string `json:"stopReason,omitempty"`
27723
29772
  TimeoutSeconds int `json:"timeoutSeconds"`
27724
29773
  ToolBindings []WorkbenchAgentToolBinding `json:"toolBindings,omitempty"`
27725
29774
  ToolExecutions []WorkbenchToolExecution `json:"toolExecutions,omitempty"`
27726
29775
  Toolset *WorkbenchSessionToolset `json:"toolset,omitempty"`
27727
29776
  UpdatedAt time.Time `json:"updatedAt"`
29777
+ UsageKnown bool `json:"usageKnown,omitempty"`
27728
29778
  }
27729
29779
 
29780
+ // WorkbenchAgentRunExecutionOwner defines model for WorkbenchAgentRun.ExecutionOwner.
29781
+ type WorkbenchAgentRunExecutionOwner string
29782
+
27730
29783
  // WorkbenchAgentRunEnvelope defines model for WorkbenchAgentRunEnvelope.
27731
29784
  type WorkbenchAgentRunEnvelope struct {
27732
29785
  Data WorkbenchAgentRun `json:"data"`
27733
29786
  }
27734
29787
 
29788
+ // WorkbenchAgentRunListEnvelope defines model for WorkbenchAgentRunListEnvelope.
29789
+ type WorkbenchAgentRunListEnvelope struct {
29790
+ Items []WorkbenchAgentRun `json:"items"`
29791
+ }
29792
+
27735
29793
  // WorkbenchAgentSkillBinding defines model for WorkbenchAgentSkillBinding.
27736
29794
  type WorkbenchAgentSkillBinding struct {
27737
29795
  CapabilityRefs []string `json:"capabilityRefs,omitempty"`
@@ -27862,6 +29920,18 @@ type WorkbenchArtifactUpdatedEvent struct {
27862
29920
  // WorkbenchArtifactUpdatedEventType defines model for WorkbenchArtifactUpdatedEvent.Type.
27863
29921
  type WorkbenchArtifactUpdatedEventType string
27864
29922
 
29923
+ // WorkbenchAssistantTask An explicit, owner-scoped assistant appearance task executed through chat. Images are bounded inline avatar assets, never arbitrary remote URLs. The instruction remains in content. No account identity or resource permissions change. Undo references a successful profile reply in the same owned session and rejects stale replacements.
29924
+ type WorkbenchAssistantTask struct {
29925
+ Image *PersonalAssistantAvatarRequest `json:"image,omitempty"`
29926
+ Kind WorkbenchAssistantTaskKind `json:"kind"`
29927
+ MessageID string `json:"messageId,omitempty"`
29928
+ PublicModel string `json:"publicModel,omitempty"`
29929
+ UseCurrentAvatar bool `json:"useCurrentAvatar,omitempty"`
29930
+ }
29931
+
29932
+ // WorkbenchAssistantTaskKind defines model for WorkbenchAssistantTask.Kind.
29933
+ type WorkbenchAssistantTaskKind string
29934
+
27865
29935
  // WorkbenchAutomationPolicy defines model for WorkbenchAutomationPolicy.
27866
29936
  type WorkbenchAutomationPolicy struct {
27867
29937
  AgentProviderID string `json:"agentProviderId,omitempty"`
@@ -27975,10 +30045,14 @@ type WorkbenchContextReference struct {
27975
30045
  // WorkbenchContextReferenceKind defines model for WorkbenchContextReference.Kind.
27976
30046
  type WorkbenchContextReferenceKind string
27977
30047
 
27978
- // WorkbenchContextSelection Explicit references and UTF-8 text attachments for this request only. The server rechecks source access and records used content hashes and truncations. Not inherited by subsequent requests.
30048
+ // WorkbenchContextSelection Explicit references, UTF-8 text attachments and a bounded inline chat image for this request. Images are ordinary message content and never imply an assistant appearance change. Images are retained with the owned message; references are rechecked on use.
27979
30049
  type WorkbenchContextSelection struct {
27980
30050
  Attachments []WorkbenchTextAttachment `json:"attachments,omitempty"`
27981
30051
 
30052
+ // FeedItemID Owned personal feed post
30053
+ FeedItemID string `json:"feedItemId,omitempty"`
30054
+ Images []WorkbenchImageAttachment `json:"images,omitempty"`
30055
+
27982
30056
  // MemoryIDs Explicit personal memory references; current owner, active policy and expiry are checked on every request.
27983
30057
  MemoryIDs []string `json:"memoryIds,omitempty"`
27984
30058
  References []WorkbenchContextReference `json:"references,omitempty"`
@@ -28135,6 +30209,13 @@ type WorkbenchHypothesis struct {
28135
30209
  Title string `json:"title"`
28136
30210
  }
28137
30211
 
30212
+ // WorkbenchImageAttachment Ordinary chat image, preserved without square cropping. Inline PNG/JPEG only, at most 700000 data URL characters and 1024 pixels on each edge. The server verifies MIME, decoded bytes and dimensions before storage or model invocation. No remote URL fetch. Message metadata.images retains the attachment for history and retry.
30213
+ type WorkbenchImageAttachment struct {
30214
+ DataURL string `json:"dataUrl"`
30215
+ ID string `json:"id"`
30216
+ Name string `json:"name"`
30217
+ }
30218
+
28138
30219
  // WorkbenchInsight defines model for WorkbenchInsight.
28139
30220
  type WorkbenchInsight struct {
28140
30221
  Actions []string `json:"actions,omitempty"`
@@ -28282,11 +30363,18 @@ type WorkbenchLaunchContext struct {
28282
30363
  // WorkbenchLaunchContextSourceWorkbench defines model for WorkbenchLaunchContext.SourceWorkbench.
28283
30364
  type WorkbenchLaunchContextSourceWorkbench string
28284
30365
 
30366
+ // WorkbenchMainSessionRequest defines model for WorkbenchMainSessionRequest.
30367
+ type WorkbenchMainSessionRequest struct {
30368
+ AgentProviderID string `json:"agentProviderId,omitempty"`
30369
+ }
30370
+
28285
30371
  // WorkbenchMessage defines model for WorkbenchMessage.
28286
30372
  type WorkbenchMessage struct {
28287
- Content string `json:"content"`
28288
- CreatedAt time.Time `json:"createdAt"`
28289
- ID string `json:"id"`
30373
+ Content string `json:"content"`
30374
+ CreatedAt time.Time `json:"createdAt"`
30375
+ ID string `json:"id"`
30376
+
30377
+ // Metadata Background provenance is stored in contextSnapshot (legacy contextEnvelope is readable). contextUsage describes the latest single model call; Native usage is cumulative task consumption. User metadata.images contains WorkbenchImageAttachment items. Completed assistant metadata may contain assistantReaction (one of 👋 👍 ❤️ 😊 🎉 💡 👀 🤔 ✅ 🙏) and server-bound requestMessageId for that reaction. Reactions are social acknowledgements, never approval or execution evidence.
28290
30378
  Metadata map[string]any `json:"metadata,omitempty"`
28291
30379
  Role WorkbenchMessageRole `json:"role"`
28292
30380
  SessionID string `json:"sessionId"`
@@ -28339,10 +30427,48 @@ type WorkbenchMessageListEnvelope struct {
28339
30427
  Items []WorkbenchMessage `json:"items"`
28340
30428
  }
28341
30429
 
30430
+ // WorkbenchMessageSearchEnvelope defines model for WorkbenchMessageSearchEnvelope.
30431
+ type WorkbenchMessageSearchEnvelope struct {
30432
+ Data WorkbenchMessageSearchPage `json:"data"`
30433
+ }
30434
+
30435
+ // WorkbenchMessageSearchHit defines model for WorkbenchMessageSearchHit.
30436
+ type WorkbenchMessageSearchHit struct {
30437
+ CreatedAt time.Time `json:"createdAt"`
30438
+ MessageID string `json:"messageId"`
30439
+ Role WorkbenchMessageSearchHitRole `json:"role"`
30440
+ SessionID string `json:"sessionId"`
30441
+ SessionTitle string `json:"sessionTitle"`
30442
+ Snippet string `json:"snippet"`
30443
+ }
30444
+
30445
+ // WorkbenchMessageSearchHitRole defines model for WorkbenchMessageSearchHit.Role.
30446
+ type WorkbenchMessageSearchHitRole string
30447
+
30448
+ // WorkbenchMessageSearchPage defines model for WorkbenchMessageSearchPage.
30449
+ type WorkbenchMessageSearchPage struct {
30450
+ Items []WorkbenchMessageSearchHit `json:"items"`
30451
+ NextCursor string `json:"nextCursor,omitempty"`
30452
+ }
30453
+
30454
+ // WorkbenchMessageWindow defines model for WorkbenchMessageWindow.
30455
+ type WorkbenchMessageWindow struct {
30456
+ AfterCursor string `json:"afterCursor,omitempty"`
30457
+ BeforeCursor string `json:"beforeCursor,omitempty"`
30458
+ Messages []WorkbenchMessage `json:"messages"`
30459
+ }
30460
+
30461
+ // WorkbenchMessageWindowEnvelope defines model for WorkbenchMessageWindowEnvelope.
30462
+ type WorkbenchMessageWindowEnvelope struct {
30463
+ Data WorkbenchMessageWindow `json:"data"`
30464
+ }
30465
+
28342
30466
  // WorkbenchModelOption defines model for WorkbenchModelOption.
28343
30467
  type WorkbenchModelOption struct {
28344
- PublicModel string `json:"publicModel"`
28345
- ReasoningEfforts []WorkbenchModelOptionReasoningEfforts `json:"reasoningEfforts"`
30468
+ // ContextWindowTokens Configured model window in tokens. Omitted when any eligible route has no valid capacity; otherwise the smallest eligible route capacity. Never inferred from the model name.
30469
+ ContextWindowTokens int64 `json:"contextWindowTokens,omitempty"`
30470
+ PublicModel string `json:"publicModel"`
30471
+ ReasoningEfforts []WorkbenchModelOptionReasoningEfforts `json:"reasoningEfforts"`
28346
30472
  }
28347
30473
 
28348
30474
  // WorkbenchModelOptionReasoningEfforts defines model for WorkbenchModelOption.ReasoningEfforts.
@@ -28383,6 +30509,17 @@ type WorkbenchOperationState struct {
28383
30509
  ToolExecutionCount int `json:"toolExecutionCount,omitempty"`
28384
30510
  }
28385
30511
 
30512
+ // WorkbenchProfessionalCapabilityInput defines model for WorkbenchProfessionalCapabilityInput.
30513
+ type WorkbenchProfessionalCapabilityInput struct {
30514
+ // Intent Capability preferences and explicit query parameters for this turn only. Does not change session mode, grant permission, or create scheduled inspections.
30515
+ Intent WorkbenchTaskIntent `json:"intent"`
30516
+ Locale string `json:"locale,omitempty"`
30517
+ Question string `json:"question"`
30518
+ Scope WorkbenchSessionScope `json:"scope"`
30519
+ SessionID string `json:"sessionId"`
30520
+ Toolset *WorkbenchSessionToolset `json:"toolset,omitempty"`
30521
+ }
30522
+
28386
30523
  // WorkbenchRootCauseRun defines model for WorkbenchRootCauseRun.
28387
30524
  type WorkbenchRootCauseRun struct {
28388
30525
  AlertID string `json:"alertId,omitempty"`
@@ -28467,9 +30604,12 @@ type WorkbenchSendMessageRequest struct {
28467
30604
  // WorkbenchSendMessageStreamRequest defines model for WorkbenchSendMessageStreamRequest.
28468
30605
  type WorkbenchSendMessageStreamRequest struct {
28469
30606
  AgentProviderID string `json:"agentProviderId,omitempty"`
28470
- Content string `json:"content"`
28471
30607
 
28472
- // ContextSelection Explicit references and UTF-8 text attachments for this request only. The server rechecks source access and records used content hashes and truncations. Not inherited by subsequent requests.
30608
+ // AssistantTask An explicit, owner-scoped assistant appearance task executed through chat. Images are bounded inline avatar assets, never arbitrary remote URLs. The instruction remains in content. No account identity or resource permissions change. Undo references a successful profile reply in the same owned session and rejects stale replacements.
30609
+ AssistantTask *WorkbenchAssistantTask `json:"assistantTask,omitempty"`
30610
+ Content string `json:"content"`
30611
+
30612
+ // ContextSelection Explicit references, UTF-8 text attachments and a bounded inline chat image for this request. Images are ordinary message content and never imply an assistant appearance change. Images are retained with the owned message; references are rechecked on use.
28473
30613
  ContextSelection *WorkbenchContextSelection `json:"contextSelection,omitempty"`
28474
30614
  KnowledgeContext *struct {
28475
30615
  Enabled bool `json:"enabled"`
@@ -28481,11 +30621,17 @@ type WorkbenchSendMessageStreamRequest struct {
28481
30621
  ModelPreferences *WorkbenchModelPreferences `json:"modelPreferences,omitempty"`
28482
30622
 
28483
30623
  // PinnedContext May contain branchReference with kind session, sessionId and fixed messageIds; source ownership and availability are rechecked on every use.
28484
- PinnedContext map[string]any `json:"pinnedContext,omitempty"`
30624
+ PinnedContext map[string]any `json:"pinnedContext,omitempty"`
30625
+
30626
+ // RequestID A stable per-turn idempotency key. Reusing it with different content or selections is rejected.
30627
+ RequestID string `json:"requestId,omitempty"`
28485
30628
  ScopeOverrides AnyValue `json:"scopeOverrides,omitempty"`
28486
30629
  SelectionContext *WorkbenchSelectionContext `json:"selectionContext,omitempty"`
28487
30630
  Source string `json:"source,omitempty"`
28488
- Toolset AnyValue `json:"toolset,omitempty"`
30631
+
30632
+ // TaskIntent Capability preferences and explicit query parameters for this turn only. Does not change session mode, grant permission, or create scheduled inspections.
30633
+ TaskIntent *WorkbenchTaskIntent `json:"taskIntent,omitempty"`
30634
+ Toolset AnyValue `json:"toolset,omitempty"`
28489
30635
  }
28490
30636
 
28491
30637
  // WorkbenchSession defines model for WorkbenchSession.
@@ -28527,12 +30673,15 @@ type WorkbenchSessionMessageResultEnvelope struct {
28527
30673
 
28528
30674
  // WorkbenchSessionMetadata defines model for WorkbenchSessionMetadata.
28529
30675
  type WorkbenchSessionMetadata struct {
28530
- AgentProviderID string `json:"agentProviderId,omitempty"`
28531
- AnalysisRunRefs []WorkbenchRunRef `json:"analysisRunRefs,omitempty"`
28532
- ArchivedAt *time.Time `json:"archivedAt,omitempty"`
28533
- KnowledgeContext map[string]any `json:"knowledgeContext,omitempty"`
28534
- Mode WorkbenchSessionMetadataMode `json:"mode,omitempty"`
28535
- ModelPreferences *WorkbenchModelPreferences `json:"modelPreferences,omitempty"`
30676
+ AgentProviderID string `json:"agentProviderId,omitempty"`
30677
+ AnalysisRunRefs []WorkbenchRunRef `json:"analysisRunRefs,omitempty"`
30678
+ ArchivedAt *time.Time `json:"archivedAt,omitempty"`
30679
+
30680
+ // ConversationKind Server-owned chat role. Older sessions without a role remain side chats. Main chats cannot be archived or deleted through the ordinary session operations.
30681
+ ConversationKind WorkbenchSessionMetadataConversationKind `json:"conversationKind,omitempty"`
30682
+ KnowledgeContext map[string]any `json:"knowledgeContext,omitempty"`
30683
+ Mode WorkbenchSessionMetadataMode `json:"mode,omitempty"`
30684
+ ModelPreferences *WorkbenchModelPreferences `json:"modelPreferences,omitempty"`
28536
30685
 
28537
30686
  // PinnedContext May contain branchReference with kind session, sessionId and fixed messageIds; source ownership and availability are rechecked on every use.
28538
30687
  PinnedContext map[string]any `json:"pinnedContext,omitempty"`
@@ -28544,6 +30693,9 @@ type WorkbenchSessionMetadata struct {
28544
30693
  Toolset *WorkbenchSessionToolset `json:"toolset,omitempty"`
28545
30694
  }
28546
30695
 
30696
+ // WorkbenchSessionMetadataConversationKind Server-owned chat role. Older sessions without a role remain side chats. Main chats cannot be archived or deleted through the ordinary session operations.
30697
+ type WorkbenchSessionMetadataConversationKind string
30698
+
28547
30699
  // WorkbenchSessionMetadataMode defines model for WorkbenchSessionMetadata.Mode.
28548
30700
  type WorkbenchSessionMetadataMode string
28549
30701
 
@@ -28624,6 +30776,24 @@ type WorkbenchStreamEventBase struct {
28624
30776
  SessionID string `json:"sessionId"`
28625
30777
  }
28626
30778
 
30779
+ // WorkbenchTaskIntent Capability preferences and explicit query parameters for this turn only. Does not change session mode, grant permission, or create scheduled inspections.
30780
+ type WorkbenchTaskIntent struct {
30781
+ Capabilities []WorkbenchTaskIntentCapabilities `json:"capabilities,omitempty"`
30782
+
30783
+ // DataSourceID Legacy shared selection. A capability-specific data source takes precedence for that capability.
30784
+ DataSourceID string `json:"dataSourceId,omitempty"`
30785
+ InspectionRunIDs []string `json:"inspectionRunIds,omitempty"`
30786
+ MetricKey string `json:"metricKey,omitempty"`
30787
+ MinDurationMs *int `json:"minDurationMs,omitempty"`
30788
+ PerformanceDataSourceID string `json:"performanceDataSourceId,omitempty"`
30789
+ RootCauseProfileID string `json:"rootCauseProfileId,omitempty"`
30790
+ TraceDataSourceID string `json:"traceDataSourceId,omitempty"`
30791
+ TraceID string `json:"traceId,omitempty"`
30792
+ }
30793
+
30794
+ // WorkbenchTaskIntentCapabilities defines model for WorkbenchTaskIntent.Capabilities.
30795
+ type WorkbenchTaskIntentCapabilities string
30796
+
28627
30797
  // WorkbenchTextAttachment A UTF-8 text/log/config file, at most 64 KiB per file and 512 KiB per request; binary or unsupported formats are rejected. Parsing is synchronous and successful submission means parsed. Evidence may be clipped to the request budget.
28628
30798
  type WorkbenchTextAttachment struct {
28629
30799
  Content string `json:"content"`
@@ -30066,6 +32236,12 @@ type ListKubernetesConfigMapsParams struct {
30066
32236
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30067
32237
  }
30068
32238
 
32239
+ // UpdateKubernetesConfigMapDataParams defines parameters for UpdateKubernetesConfigMapData.
32240
+ type UpdateKubernetesConfigMapDataParams struct {
32241
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
32242
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
32243
+ }
32244
+
30069
32245
  // GetKubernetesConfigMapDetailParams defines parameters for GetKubernetesConfigMapDetail.
30070
32246
  type GetKubernetesConfigMapDetailParams struct {
30071
32247
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30138,6 +32314,18 @@ type ListKubernetesSecretMetadataParams struct {
30138
32314
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30139
32315
  }
30140
32316
 
32317
+ // UpdateKubernetesSecretDataParams defines parameters for UpdateKubernetesSecretData.
32318
+ type UpdateKubernetesSecretDataParams struct {
32319
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
32320
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
32321
+ }
32322
+
32323
+ // GetKubernetesSecretDetailParams defines parameters for GetKubernetesSecretDetail.
32324
+ type GetKubernetesSecretDetailParams struct {
32325
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
32326
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
32327
+ }
32328
+
30141
32329
  // ListKubernetesSecretReferencesParams defines parameters for ListKubernetesSecretReferences.
30142
32330
  type ListKubernetesSecretReferencesParams struct {
30143
32331
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30151,6 +32339,18 @@ type ListKubernetesClusterEventsParams struct {
30151
32339
  Limit KubernetesEventLimitQuery `form:"limit,omitempty" json:"limit,omitempty"`
30152
32340
  }
30153
32341
 
32342
+ // DeleteKubernetesCustomResourceDefinitionParams defines parameters for DeleteKubernetesCustomResourceDefinition.
32343
+ type DeleteKubernetesCustomResourceDefinitionParams struct {
32344
+ // ExpectedUID UID observed in the CRD catalog. A same-name replacement is rejected.
32345
+ ExpectedUID string `form:"expectedUid" json:"expectedUid"`
32346
+ }
32347
+
32348
+ // GetKubernetesCustomResourceAccessParams defines parameters for GetKubernetesCustomResourceAccess.
32349
+ type GetKubernetesCustomResourceAccessParams struct {
32350
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
32351
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
32352
+ }
32353
+
30154
32354
  // ListKubernetesCustomResourcesParams defines parameters for ListKubernetesCustomResources.
30155
32355
  type ListKubernetesCustomResourcesParams struct {
30156
32356
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30401,6 +32601,12 @@ type GetKubernetesCronJobDetailParams struct {
30401
32601
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30402
32602
  }
30403
32603
 
32604
+ // SetKubernetesCronJobSuspendParams defines parameters for SetKubernetesCronJobSuspend.
32605
+ type SetKubernetesCronJobSuspendParams struct {
32606
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
32607
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
32608
+ }
32609
+
30404
32610
  // GetKubernetesCronJobYamlParams defines parameters for GetKubernetesCronJobYaml.
30405
32611
  type GetKubernetesCronJobYamlParams struct {
30406
32612
  // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
@@ -30499,6 +32705,12 @@ type ListKubernetesPodsParams struct {
30499
32705
  Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
30500
32706
  }
30501
32707
 
32708
+ // DeleteKubernetesPodParams defines parameters for DeleteKubernetesPod.
32709
+ type DeleteKubernetesPodParams struct {
32710
+ // Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
32711
+ Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
32712
+ }
32713
+
30502
32714
  // GetKubernetesPodDetailParams defines parameters for GetKubernetesPodDetail.
30503
32715
  type GetKubernetesPodDetailParams struct {
30504
32716
  Namespace KubernetesNamespaceDefaultQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
@@ -30684,6 +32896,11 @@ type ListAgentRunsParams struct {
30684
32896
  SessionID string `form:"sessionId,omitempty" json:"sessionId,omitempty"`
30685
32897
  }
30686
32898
 
32899
+ // ListAgentRunEventsParams defines parameters for ListAgentRunEvents.
32900
+ type ListAgentRunEventsParams struct {
32901
+ AfterSequence int `form:"afterSequence,omitempty" json:"afterSequence,omitempty"`
32902
+ }
32903
+
30687
32904
  // ListWorkbenchAnalysisRunsParams defines parameters for ListWorkbenchAnalysisRuns.
30688
32905
  type ListWorkbenchAnalysisRunsParams struct {
30689
32906
  ClusterID string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
@@ -30691,6 +32908,12 @@ type ListWorkbenchAnalysisRunsParams struct {
30691
32908
  Limit int `form:"limit,omitempty" json:"limit,omitempty"`
30692
32909
  }
30693
32910
 
32911
+ // ListPersonalFeedParams defines parameters for ListPersonalFeed.
32912
+ type ListPersonalFeedParams struct {
32913
+ Before string `form:"before,omitempty" json:"before,omitempty"`
32914
+ Limit int `form:"limit,omitempty" json:"limit,omitempty"`
32915
+ }
32916
+
30694
32917
  // ListWorkbenchInspectionRunsParams defines parameters for ListWorkbenchInspectionRuns.
30695
32918
  type ListWorkbenchInspectionRunsParams struct {
30696
32919
  TaskID string `form:"taskId,omitempty" json:"taskId,omitempty"`
@@ -30707,6 +32930,17 @@ type ExecuteWorkbenchInspectionTaskParams struct {
30707
32930
  ExpectedRevision int `form:"expectedRevision,omitempty" json:"expectedRevision,omitempty"`
30708
32931
  }
30709
32932
 
32933
+ // SearchWorkbenchMessagesParams defines parameters for SearchWorkbenchMessages.
32934
+ type SearchWorkbenchMessagesParams struct {
32935
+ Q string `form:"q" json:"q"`
32936
+ Cursor string `form:"cursor,omitempty" json:"cursor,omitempty"`
32937
+ Limit int `form:"limit,omitempty" json:"limit,omitempty"`
32938
+ Workspace SearchWorkbenchMessagesParamsWorkspace `form:"workspace,omitempty" json:"workspace,omitempty"`
32939
+ }
32940
+
32941
+ // SearchWorkbenchMessagesParamsWorkspace defines parameters for SearchWorkbenchMessages.
32942
+ type SearchWorkbenchMessagesParamsWorkspace string
32943
+
30710
32944
  // ListWorkbenchRootCauseRunsParams defines parameters for ListWorkbenchRootCauseRuns.
30711
32945
  type ListWorkbenchRootCauseRunsParams struct {
30712
32946
  ClusterID string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
@@ -30714,6 +32948,19 @@ type ListWorkbenchRootCauseRunsParams struct {
30714
32948
  Limit int `form:"limit,omitempty" json:"limit,omitempty"`
30715
32949
  }
30716
32950
 
32951
+ // GetWorkbenchMessageWindowParams defines parameters for GetWorkbenchMessageWindow.
32952
+ type GetWorkbenchMessageWindowParams struct {
32953
+ Around string `form:"around,omitempty" json:"around,omitempty"`
32954
+ Before string `form:"before,omitempty" json:"before,omitempty"`
32955
+ After string `form:"after,omitempty" json:"after,omitempty"`
32956
+ Limit int `form:"limit,omitempty" json:"limit,omitempty"`
32957
+ }
32958
+
32959
+ // FindNativeRequestParams defines parameters for FindNativeRequest.
32960
+ type FindNativeRequestParams struct {
32961
+ RequestID string `form:"requestId" json:"requestId"`
32962
+ }
32963
+
30717
32964
  // ListDeliveryBatchesParams defines parameters for ListDeliveryBatches.
30718
32965
  type ListDeliveryBatchesParams struct {
30719
32966
  ApplicationID string `form:"applicationId,omitempty" json:"applicationId,omitempty"`
@@ -30984,6 +33231,19 @@ type ListNetworkAccessPoliciesParams struct {
30984
33231
  Limit int `form:"limit,omitempty" json:"limit,omitempty"`
30985
33232
  }
30986
33233
 
33234
+ // ListNetworkProxyInstancesParams defines parameters for ListNetworkProxyInstances.
33235
+ type ListNetworkProxyInstancesParams struct {
33236
+ Search string `form:"search,omitempty" json:"search,omitempty"`
33237
+ Engine NetworkProxyEngine `form:"engine,omitempty" json:"engine,omitempty"`
33238
+ Limit int `form:"limit,omitempty" json:"limit,omitempty"`
33239
+ }
33240
+
33241
+ // GetNetworkProxyTrafficParams defines parameters for GetNetworkProxyTraffic.
33242
+ type GetNetworkProxyTrafficParams struct {
33243
+ From time.Time `form:"from,omitempty" json:"from,omitempty"`
33244
+ To time.Time `form:"to,omitempty" json:"to,omitempty"`
33245
+ }
33246
+
30987
33247
  // ListNetworkResourcesParams defines parameters for ListNetworkResources.
30988
33248
  type ListNetworkResourcesParams struct {
30989
33249
  Search string `form:"search,omitempty" json:"search,omitempty"`
@@ -31343,6 +33603,12 @@ type ListVirtualizationOperationLogsParams struct {
31343
33603
  Limit int `form:"limit,omitempty" json:"limit,omitempty"`
31344
33604
  }
31345
33605
 
33606
+ // StreamVirtualMachineSSHSessionParams defines parameters for StreamVirtualMachineSSHSession.
33607
+ type StreamVirtualMachineSSHSessionParams struct {
33608
+ // StreamTicket One-use browser stream ticket scoped to this session. CLI clients use bearer authentication.
33609
+ StreamTicket string `form:"stream_ticket,omitempty" json:"stream_ticket,omitempty"`
33610
+ }
33611
+
31346
33612
  // ListVirtualMachinesParams defines parameters for ListVirtualMachines.
31347
33613
  type ListVirtualMachinesParams struct {
31348
33614
  Provider string `form:"provider,omitempty" json:"provider,omitempty"`
@@ -31731,18 +33997,45 @@ type TriggerBuildJSONRequestBody = BuildTriggerRequest
31731
33997
  // ReviewKubernetesSubjectAccessJSONRequestBody defines body for ReviewKubernetesSubjectAccess for application/json ContentType.
31732
33998
  type ReviewKubernetesSubjectAccessJSONRequestBody = KubernetesSubjectAccessReviewInput
31733
33999
 
34000
+ // UpgradeClusterAgentJSONRequestBody defines body for UpgradeClusterAgent for application/json ContentType.
34001
+ type UpgradeClusterAgentJSONRequestBody = ClusterAgentUpgradeInput
34002
+
34003
+ // UpdateKubernetesConfigMapDataJSONRequestBody defines body for UpdateKubernetesConfigMapData for application/json ContentType.
34004
+ type UpdateKubernetesConfigMapDataJSONRequestBody = KubernetesConfigMapDataInput
34005
+
34006
+ // UpdateKubernetesSecretDataJSONRequestBody defines body for UpdateKubernetesSecretData for application/json ContentType.
34007
+ type UpdateKubernetesSecretDataJSONRequestBody = KubernetesSecretDataInput
34008
+
31734
34009
  // RollbackKubernetesHelmReleaseJSONRequestBody defines body for RollbackKubernetesHelmRelease for application/json ContentType.
31735
34010
  type RollbackKubernetesHelmReleaseJSONRequestBody = KubernetesHelmReleaseRollbackInput
31736
34011
 
31737
34012
  // PlanKubernetesHelmReleaseRollbackJSONRequestBody defines body for PlanKubernetesHelmReleaseRollback for application/json ContentType.
31738
34013
  type PlanKubernetesHelmReleaseRollbackJSONRequestBody = KubernetesHelmReleaseRollbackInput
31739
34014
 
34015
+ // UpdateKubernetesNodeJSONRequestBody defines body for UpdateKubernetesNode for application/json ContentType.
34016
+ type UpdateKubernetesNodeJSONRequestBody = KubernetesNodeUpdateInput
34017
+
34018
+ // DrainKubernetesNodeJSONRequestBody defines body for DrainKubernetesNode for application/json ContentType.
34019
+ type DrainKubernetesNodeJSONRequestBody = KubernetesNodeDrainInput
34020
+
34021
+ // SetKubernetesNodeSchedulabilityJSONRequestBody defines body for SetKubernetesNodeSchedulability for application/json ContentType.
34022
+ type SetKubernetesNodeSchedulabilityJSONRequestBody = KubernetesNodeSchedulabilityInput
34023
+
34024
+ // ApplyKubernetesNodeYamlJSONRequestBody defines body for ApplyKubernetesNodeYaml for application/json ContentType.
34025
+ type ApplyKubernetesNodeYamlJSONRequestBody = KubernetesResourceYamlInput
34026
+
31740
34027
  // QueryClusterLogsJSONRequestBody defines body for QueryClusterLogs for application/json ContentType.
31741
34028
  type QueryClusterLogsJSONRequestBody = LogQuery
31742
34029
 
31743
34030
  // IssueClusterLogStreamTicketJSONRequestBody defines body for IssueClusterLogStreamTicket for application/json ContentType.
31744
34031
  type IssueClusterLogStreamTicketJSONRequestBody = LogQuery
31745
34032
 
34033
+ // CreateKubernetesNamespaceJSONRequestBody defines body for CreateKubernetesNamespace for application/json ContentType.
34034
+ type CreateKubernetesNamespaceJSONRequestBody = KubernetesNamespaceCreateInput
34035
+
34036
+ // UpdateKubernetesNamespaceJSONRequestBody defines body for UpdateKubernetesNamespace for application/json ContentType.
34037
+ type UpdateKubernetesNamespaceJSONRequestBody = KubernetesNamespaceInput
34038
+
31746
34039
  // DisableClusterLogCollectionJSONRequestBody defines body for DisableClusterLogCollection for application/json ContentType.
31747
34040
  type DisableClusterLogCollectionJSONRequestBody = LogCollectionDisableInput
31748
34041
 
@@ -31767,6 +34060,9 @@ type GenerateKubernetesWorkloadSnapshotJSONRequestBody = KubernetesWorkloadSnaps
31767
34060
  // PlanKubernetesResourceUpdateJSONRequestBody defines body for PlanKubernetesResourceUpdate for application/json ContentType.
31768
34061
  type PlanKubernetesResourceUpdateJSONRequestBody = KubernetesResourceUpdatePlanRequest
31769
34062
 
34063
+ // SetKubernetesCronJobSuspendJSONRequestBody defines body for SetKubernetesCronJobSuspend for application/json ContentType.
34064
+ type SetKubernetesCronJobSuspendJSONRequestBody = KubernetesCronJobSuspendInput
34065
+
31770
34066
  // RecordCompanionInteractionJSONRequestBody defines body for RecordCompanionInteraction for application/json ContentType.
31771
34067
  type RecordCompanionInteractionJSONRequestBody = CompanionInteractionRequest
31772
34068
 
@@ -31797,12 +34093,57 @@ type ClaimAgentRunJSONRequestBody = AgentRunClaimRequest
31797
34093
  // RecordAgentRunToolCallJSONRequestBody defines body for RecordAgentRunToolCall for application/json ContentType.
31798
34094
  type RecordAgentRunToolCallJSONRequestBody = AgentRunToolCallRequest
31799
34095
 
34096
+ // ResumeAgentRunJSONRequestBody defines body for ResumeAgentRun for application/json ContentType.
34097
+ type ResumeAgentRunJSONRequestBody = AgentRunResumeRequest
34098
+
31800
34099
  // CreateWorkbenchAnalysisProfileJSONRequestBody defines body for CreateWorkbenchAnalysisProfile for application/json ContentType.
31801
34100
  type CreateWorkbenchAnalysisProfileJSONRequestBody = WorkbenchAnalysisProfileInput
31802
34101
 
31803
34102
  // UpdateWorkbenchAnalysisProfileJSONRequestBody defines body for UpdateWorkbenchAnalysisProfile for application/json ContentType.
31804
34103
  type UpdateWorkbenchAnalysisProfileJSONRequestBody = WorkbenchAnalysisProfileInput
31805
34104
 
34105
+ // UpdatePersonalAssistantJSONRequestBody defines body for UpdatePersonalAssistant for application/json ContentType.
34106
+ type UpdatePersonalAssistantJSONRequestBody = PersonalAssistantUpdateRequest
34107
+
34108
+ // DecidePersonalAgentAccessJSONRequestBody defines body for DecidePersonalAgentAccess for application/json ContentType.
34109
+ type DecidePersonalAgentAccessJSONRequestBody = PersonalAgentAccessDecision
34110
+
34111
+ // UpdatePersonalAssistantAvatarJSONRequestBody defines body for UpdatePersonalAssistantAvatar for application/json ContentType.
34112
+ type UpdatePersonalAssistantAvatarJSONRequestBody = PersonalAssistantAvatarRequest
34113
+
34114
+ // DeletePersonalEnvironmentDataJSONRequestBody defines body for DeletePersonalEnvironmentData for application/json ContentType.
34115
+ type DeletePersonalEnvironmentDataJSONRequestBody = PersonalEnvironmentDataDeletionRequest
34116
+
34117
+ // ChangePersonalEnvironmentJSONRequestBody defines body for ChangePersonalEnvironment for application/json ContentType.
34118
+ type ChangePersonalEnvironmentJSONRequestBody = PersonalEnvironmentActionRequest
34119
+
34120
+ // ExportPersonalEnvironmentDataJSONRequestBody defines body for ExportPersonalEnvironmentData for application/json ContentType.
34121
+ type ExportPersonalEnvironmentDataJSONRequestBody = PersonalEnvironmentDataExportRequest
34122
+
34123
+ // PreparePersonalGuestEnrollmentJSONRequestBody defines body for PreparePersonalGuestEnrollment for application/json ContentType.
34124
+ type PreparePersonalGuestEnrollmentJSONRequestBody = PersonalGuestPreparationInput
34125
+
34126
+ // ProvisionPersonalGuestJSONRequestBody defines body for ProvisionPersonalGuest for application/json ContentType.
34127
+ type ProvisionPersonalGuestJSONRequestBody = PersonalGuestPreparationInput
34128
+
34129
+ // ReconcilePersonalGuestProvisioningJSONRequestBody defines body for ReconcilePersonalGuestProvisioning for application/json ContentType.
34130
+ type ReconcilePersonalGuestProvisioningJSONRequestBody = PersonalGuestPreparationInput
34131
+
34132
+ // InstallPersonalGuestToolsJSONRequestBody defines body for InstallPersonalGuestTools for application/json ContentType.
34133
+ type InstallPersonalGuestToolsJSONRequestBody = PersonalGuestToolsInput
34134
+
34135
+ // StartPersonalGuestRuntimeJSONRequestBody defines body for StartPersonalGuestRuntime for application/json ContentType.
34136
+ type StartPersonalGuestRuntimeJSONRequestBody = PersonalGuestRuntimeInput
34137
+
34138
+ // UpdatePersonalFeedFeedbackJSONRequestBody defines body for UpdatePersonalFeedFeedback for application/json ContentType.
34139
+ type UpdatePersonalFeedFeedbackJSONRequestBody = PersonalFeedFeedback
34140
+
34141
+ // UpdatePersonalFeedSettingsJSONRequestBody defines body for UpdatePersonalFeedSettings for application/json ContentType.
34142
+ type UpdatePersonalFeedSettingsJSONRequestBody = PersonalFeedSettings
34143
+
34144
+ // CreatePersonalAgentSessionJSONRequestBody defines body for CreatePersonalAgentSession for application/json ContentType.
34145
+ type CreatePersonalAgentSessionJSONRequestBody = WorkbenchCreateSessionRequest
34146
+
31806
34147
  // CreateWorkbenchAutomationPolicyJSONRequestBody defines body for CreateWorkbenchAutomationPolicy for application/json ContentType.
31807
34148
  type CreateWorkbenchAutomationPolicyJSONRequestBody = WorkbenchAutomationPolicyInput
31808
34149
 
@@ -31830,6 +34171,9 @@ type CreateWorkbenchRootCauseRunJSONRequestBody = WorkbenchRootCauseRunInput
31830
34171
  // CreateWorkbenchSessionJSONRequestBody defines body for CreateWorkbenchSession for application/json ContentType.
31831
34172
  type CreateWorkbenchSessionJSONRequestBody = WorkbenchCreateSessionRequest
31832
34173
 
34174
+ // EnsureWorkbenchMainSessionJSONRequestBody defines body for EnsureWorkbenchMainSession for application/json ContentType.
34175
+ type EnsureWorkbenchMainSessionJSONRequestBody = WorkbenchMainSessionRequest
34176
+
31833
34177
  // UpdateWorkbenchSessionJSONRequestBody defines body for UpdateWorkbenchSession for application/json ContentType.
31834
34178
  type UpdateWorkbenchSessionJSONRequestBody = WorkbenchUpdateSessionRequest
31835
34179
 
@@ -32142,6 +34486,12 @@ type UpdateNetworkAccessPolicyJSONRequestBody = NetworkAccessPolicyInput
32142
34486
  // PreviewNetworkAccessPolicyJSONRequestBody defines body for PreviewNetworkAccessPolicy for application/json ContentType.
32143
34487
  type PreviewNetworkAccessPolicyJSONRequestBody = NetworkPolicyPreviewRequest
32144
34488
 
34489
+ // CreateNetworkProxyInstanceJSONRequestBody defines body for CreateNetworkProxyInstance for application/json ContentType.
34490
+ type CreateNetworkProxyInstanceJSONRequestBody = NetworkProxyInstanceInput
34491
+
34492
+ // UpdateNetworkProxyConfigurationJSONRequestBody defines body for UpdateNetworkProxyConfiguration for application/json ContentType.
34493
+ type UpdateNetworkProxyConfigurationJSONRequestBody = NetworkProxyConfigurationInput
34494
+
32145
34495
  // CreateNetworkResourceJSONRequestBody defines body for CreateNetworkResource for application/json ContentType.
32146
34496
  type CreateNetworkResourceJSONRequestBody = NetworkResourceInput
32147
34497
 
@@ -32259,6 +34609,9 @@ type PostSAMLIdentityProviderSSOFormdataRequestBody = SAMLRequestForm
32259
34609
  // CreateSecretJSONRequestBody defines body for CreateSecret for application/json ContentType.
32260
34610
  type CreateSecretJSONRequestBody = SecretCreateRequest
32261
34611
 
34612
+ // GenerateSecretSSHKeyJSONRequestBody defines body for GenerateSecretSSHKey for application/json ContentType.
34613
+ type GenerateSecretSSHKeyJSONRequestBody = SecretGenerateSSHKeyRequest
34614
+
32262
34615
  // UpdateSecretJSONRequestBody defines body for UpdateSecret for application/json ContentType.
32263
34616
  type UpdateSecretJSONRequestBody = SecretUpdateRequest
32264
34617
 
@@ -32295,6 +34648,9 @@ type UploadSoftwarePackageMultipartRequestBody = SoftwarePackageUploadRequest
32295
34648
  // ImportSoftwarePackageJSONRequestBody defines body for ImportSoftwarePackage for application/json ContentType.
32296
34649
  type ImportSoftwarePackageJSONRequestBody = SoftwarePackageURLImportRequest
32297
34650
 
34651
+ // PrepareAgentSSHSessionJSONRequestBody defines body for PrepareAgentSSHSession for application/json ContentType.
34652
+ type PrepareAgentSSHSessionJSONRequestBody = AgentSSHSessionRequest
34653
+
32298
34654
  // CreateSystemIntegrationJSONRequestBody defines body for CreateSystemIntegration for application/json ContentType.
32299
34655
  type CreateSystemIntegrationJSONRequestBody = SystemIntegrationCreateRequest
32300
34656
 
@@ -32310,6 +34666,9 @@ type CreateVirtualizationClusterJSONRequestBody = VirtualizationConnectionInput
32310
34666
  // UpdateVirtualizationClusterJSONRequestBody defines body for UpdateVirtualizationCluster for application/json ContentType.
32311
34667
  type UpdateVirtualizationClusterJSONRequestBody = VirtualizationConnectionInput
32312
34668
 
34669
+ // UpdateVirtualizationCapacityPolicyJSONRequestBody defines body for UpdateVirtualizationCapacityPolicy for application/json ContentType.
34670
+ type UpdateVirtualizationCapacityPolicyJSONRequestBody = VirtualizationCapacityPolicyInput
34671
+
32313
34672
  // CreateVirtualizationFlavorJSONRequestBody defines body for CreateVirtualizationFlavor for application/json ContentType.
32314
34673
  type CreateVirtualizationFlavorJSONRequestBody = VirtualizationFlavorInput
32315
34674
 
@@ -32322,18 +34681,33 @@ type CreateVirtualizationImageJSONRequestBody = VirtualizationImageInput
32322
34681
  // UpdateVirtualizationImageJSONRequestBody defines body for UpdateVirtualizationImage for application/json ContentType.
32323
34682
  type UpdateVirtualizationImageJSONRequestBody = VirtualizationImageInput
32324
34683
 
34684
+ // RedeemVMSSHCredentialsJSONRequestBody defines body for RedeemVMSSHCredentials for application/json ContentType.
34685
+ type RedeemVMSSHCredentialsJSONRequestBody = VMSSHCredentialRedemptionInput
34686
+
34687
+ // CheckVMSSHCommandAuthorizationJSONRequestBody defines body for CheckVMSSHCommandAuthorization for application/json ContentType.
34688
+ type CheckVMSSHCommandAuthorizationJSONRequestBody = VMSSHCredentialRedemptionInput
34689
+
32325
34690
  // CreateVirtualMachineJSONRequestBody defines body for CreateVirtualMachine for application/json ContentType.
32326
34691
  type CreateVirtualMachineJSONRequestBody = VirtualMachineCreateInput
32327
34692
 
32328
34693
  // PlanVirtualMachineCreateJSONRequestBody defines body for PlanVirtualMachineCreate for application/json ContentType.
32329
34694
  type PlanVirtualMachineCreateJSONRequestBody = VirtualMachineCreateInput
32330
34695
 
34696
+ // UpdateVirtualMachineAccessBindingJSONRequestBody defines body for UpdateVirtualMachineAccessBinding for application/json ContentType.
34697
+ type UpdateVirtualMachineAccessBindingJSONRequestBody = VirtualMachineAccessBindingInput
34698
+
32331
34699
  // PerformVirtualMachineActionJSONRequestBody defines body for PerformVirtualMachineAction for application/json ContentType.
32332
34700
  type PerformVirtualMachineActionJSONRequestBody = VirtualMachineActionInput
32333
34701
 
32334
34702
  // PowerVirtualMachineJSONRequestBody defines body for PowerVirtualMachine for application/json ContentType.
32335
34703
  type PowerVirtualMachineJSONRequestBody = VirtualMachinePowerInput
32336
34704
 
34705
+ // CreateVirtualMachineSSHCommandJSONRequestBody defines body for CreateVirtualMachineSSHCommand for application/json ContentType.
34706
+ type CreateVirtualMachineSSHCommandJSONRequestBody = VirtualMachineSSHCommandInput
34707
+
34708
+ // CreateVirtualMachineSSHSessionJSONRequestBody defines body for CreateVirtualMachineSSHSession for application/json ContentType.
34709
+ type CreateVirtualMachineSSHSessionJSONRequestBody = VirtualMachineSSHSessionInput
34710
+
32337
34711
  // SaveVirtualizationWorkerPoolJSONRequestBody defines body for SaveVirtualizationWorkerPool for application/json ContentType.
32338
34712
  type SaveVirtualizationWorkerPoolJSONRequestBody = VirtualizationWorkerPoolInput
32339
34713
 
@@ -32406,6 +34780,22 @@ func (a *AgentRun) UnmarshalJSON(b []byte) error {
32406
34780
  delete(object, "chat")
32407
34781
  }
32408
34782
 
34783
+ if raw, found := object["eventSequence"]; found {
34784
+ err = json.Unmarshal(raw, &a.EventSequence)
34785
+ if err != nil {
34786
+ return fmt.Errorf("error reading 'eventSequence': %w", err)
34787
+ }
34788
+ delete(object, "eventSequence")
34789
+ }
34790
+
34791
+ if raw, found := object["executionOwner"]; found {
34792
+ err = json.Unmarshal(raw, &a.ExecutionOwner)
34793
+ if err != nil {
34794
+ return fmt.Errorf("error reading 'executionOwner': %w", err)
34795
+ }
34796
+ delete(object, "executionOwner")
34797
+ }
34798
+
32409
34799
  if raw, found := object["id"]; found {
32410
34800
  err = json.Unmarshal(raw, &a.ID)
32411
34801
  if err != nil {
@@ -32438,6 +34828,14 @@ func (a *AgentRun) UnmarshalJSON(b []byte) error {
32438
34828
  delete(object, "parentRunId")
32439
34829
  }
32440
34830
 
34831
+ if raw, found := object["phase"]; found {
34832
+ err = json.Unmarshal(raw, &a.Phase)
34833
+ if err != nil {
34834
+ return fmt.Errorf("error reading 'phase': %w", err)
34835
+ }
34836
+ delete(object, "phase")
34837
+ }
34838
+
32441
34839
  if raw, found := object["providerId"]; found {
32442
34840
  err = json.Unmarshal(raw, &a.ProviderID)
32443
34841
  if err != nil {
@@ -32502,6 +34900,14 @@ func (a *AgentRun) UnmarshalJSON(b []byte) error {
32502
34900
  delete(object, "status")
32503
34901
  }
32504
34902
 
34903
+ if raw, found := object["stopReason"]; found {
34904
+ err = json.Unmarshal(raw, &a.StopReason)
34905
+ if err != nil {
34906
+ return fmt.Errorf("error reading 'stopReason': %w", err)
34907
+ }
34908
+ delete(object, "stopReason")
34909
+ }
34910
+
32505
34911
  if raw, found := object["timeoutSeconds"]; found {
32506
34912
  err = json.Unmarshal(raw, &a.TimeoutSeconds)
32507
34913
  if err != nil {
@@ -32526,6 +34932,14 @@ func (a *AgentRun) UnmarshalJSON(b []byte) error {
32526
34932
  delete(object, "toolset")
32527
34933
  }
32528
34934
 
34935
+ if raw, found := object["usageKnown"]; found {
34936
+ err = json.Unmarshal(raw, &a.UsageKnown)
34937
+ if err != nil {
34938
+ return fmt.Errorf("error reading 'usageKnown': %w", err)
34939
+ }
34940
+ delete(object, "usageKnown")
34941
+ }
34942
+
32529
34943
  if len(object) != 0 {
32530
34944
  a.AdditionalProperties = make(map[string]any)
32531
34945
  for fieldName, fieldBuf := range object {
@@ -32569,6 +34983,16 @@ func (a AgentRun) MarshalJSON() ([]byte, error) {
32569
34983
  }
32570
34984
  }
32571
34985
 
34986
+ object["eventSequence"], err = json.Marshal(a.EventSequence)
34987
+ if err != nil {
34988
+ return nil, fmt.Errorf("error marshaling 'eventSequence': %w", err)
34989
+ }
34990
+
34991
+ object["executionOwner"], err = json.Marshal(a.ExecutionOwner)
34992
+ if err != nil {
34993
+ return nil, fmt.Errorf("error marshaling 'executionOwner': %w", err)
34994
+ }
34995
+
32572
34996
  object["id"], err = json.Marshal(a.ID)
32573
34997
  if err != nil {
32574
34998
  return nil, fmt.Errorf("error marshaling 'id': %w", err)
@@ -32593,6 +35017,11 @@ func (a AgentRun) MarshalJSON() ([]byte, error) {
32593
35017
  return nil, fmt.Errorf("error marshaling 'parentRunId': %w", err)
32594
35018
  }
32595
35019
 
35020
+ object["phase"], err = json.Marshal(a.Phase)
35021
+ if err != nil {
35022
+ return nil, fmt.Errorf("error marshaling 'phase': %w", err)
35023
+ }
35024
+
32596
35025
  object["providerId"], err = json.Marshal(a.ProviderID)
32597
35026
  if err != nil {
32598
35027
  return nil, fmt.Errorf("error marshaling 'providerId': %w", err)
@@ -32641,6 +35070,11 @@ func (a AgentRun) MarshalJSON() ([]byte, error) {
32641
35070
  return nil, fmt.Errorf("error marshaling 'status': %w", err)
32642
35071
  }
32643
35072
 
35073
+ object["stopReason"], err = json.Marshal(a.StopReason)
35074
+ if err != nil {
35075
+ return nil, fmt.Errorf("error marshaling 'stopReason': %w", err)
35076
+ }
35077
+
32644
35078
  object["timeoutSeconds"], err = json.Marshal(a.TimeoutSeconds)
32645
35079
  if err != nil {
32646
35080
  return nil, fmt.Errorf("error marshaling 'timeoutSeconds': %w", err)
@@ -32660,6 +35094,11 @@ func (a AgentRun) MarshalJSON() ([]byte, error) {
32660
35094
  }
32661
35095
  }
32662
35096
 
35097
+ object["usageKnown"], err = json.Marshal(a.UsageKnown)
35098
+ if err != nil {
35099
+ return nil, fmt.Errorf("error marshaling 'usageKnown': %w", err)
35100
+ }
35101
+
32663
35102
  for fieldName, field := range a.AdditionalProperties {
32664
35103
  object[fieldName], err = json.Marshal(field)
32665
35104
  if err != nil {
@@ -40021,35 +42460,35 @@ const (
40021
42460
  Low MarketplaceAdvisorySeverity = MarketplaceAdvisorySeverityLow
40022
42461
  )
40023
42462
 
40024
- // Deprecated: retained for Go SDK source compatibility.
42463
+ // Retained for Go SDK source compatibility.
40025
42464
  const ListAIGatewayRelayUpstreamsParamsStatusActive ListAIGatewayRelayUpstreamsParamsStatus = "active"
40026
42465
 
40027
- // Deprecated: retained for Go SDK source compatibility.
42466
+ // Retained for Go SDK source compatibility.
40028
42467
  const ListAIGatewayRelayUpstreamsParamsStatusDegraded ListAIGatewayRelayUpstreamsParamsStatus = "degraded"
40029
42468
 
40030
- // Deprecated: retained for Go SDK source compatibility.
42469
+ // Retained for Go SDK source compatibility.
40031
42470
  const ListAIGatewayRelayUpstreamsParamsStatusDisabled ListAIGatewayRelayUpstreamsParamsStatus = "disabled"
40032
42471
 
40033
- // Deprecated: retained for Go SDK source compatibility.
40034
- const RuntimeNetworkUsageScopeNetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
42472
+ // Retained for Go SDK source compatibility.
42473
+ const NetworkNamespace RuntimeNetworkUsageScope = "network_namespace"
40035
42474
 
40036
- // Deprecated: retained for Go SDK source compatibility.
40037
- const RuntimeNetworkUsageScopeProcess RuntimeNetworkUsageScope = "process"
42475
+ // Retained for Go SDK source compatibility.
42476
+ const Process RuntimeNetworkUsageScope = "process"
40038
42477
 
40039
- // Deprecated: retained for Go SDK source compatibility.
40040
- const RuntimeNetworkUsageScopeUnavailable RuntimeNetworkUsageScope = "unavailable"
42478
+ // Retained for Go SDK source compatibility.
42479
+ const Unavailable RuntimeNetworkUsageScope = "unavailable"
40041
42480
 
40042
- // Deprecated: retained for Go SDK source compatibility.
40043
- const WorkbenchAgentStatusEventStatusCancelled WorkbenchAgentStatusEventStatus = "cancelled"
42481
+ // Retained for Go SDK source compatibility.
42482
+ const Cancelled WorkbenchAgentStatusEventStatus = "cancelled"
40044
42483
 
40045
- // Deprecated: retained for Go SDK source compatibility.
40046
- const WorkbenchAgentStatusEventStatusFailed WorkbenchAgentStatusEventStatus = "failed"
42484
+ // Retained for Go SDK source compatibility.
42485
+ const Failed WorkbenchAgentStatusEventStatus = "failed"
40047
42486
 
40048
- // Deprecated: retained for Go SDK source compatibility.
40049
- const WorkbenchAgentStatusEventStatusQueued WorkbenchAgentStatusEventStatus = "queued"
42487
+ // Retained for Go SDK source compatibility.
42488
+ const Queued WorkbenchAgentStatusEventStatus = "queued"
40050
42489
 
40051
- // Deprecated: retained for Go SDK source compatibility.
40052
- const WorkbenchAgentStatusEventStatusRunning WorkbenchAgentStatusEventStatus = "running"
42490
+ // Retained for Go SDK source compatibility.
42491
+ const Running WorkbenchAgentStatusEventStatus = "running"
40053
42492
 
40054
- // Deprecated: retained for Go SDK source compatibility.
40055
- const WorkbenchAgentStatusEventStatusSucceeded WorkbenchAgentStatusEventStatus = "succeeded"
42493
+ // Retained for Go SDK source compatibility.
42494
+ const Succeeded WorkbenchAgentStatusEventStatus = "succeeded"