@opensoha/contracts 0.1.23 → 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 (360) 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 +3 -2
  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 +2195 -205
  347. package/gen/go/sohaapi/vm_disk_test.go +21 -0
  348. package/gen/ts/sohaapi/index.ts +3427 -485
  349. package/go.mod +61 -49
  350. package/go.sum +202 -176
  351. package/knowledge/connector-definition.schema.json +6 -1
  352. package/knowledge/source-import-policy.schema.json +32 -0
  353. package/memory/memory-record.schema.json +1 -1
  354. package/openapi/soha-api.json +12645 -7451
  355. package/openapi/soha-api.yaml +1806 -12
  356. package/openapi/spec_generated.go +3 -3
  357. package/package.json +19 -3
  358. /package/fixtures/openapi/DeliveryExecutionHistoryPage/{invalid-kind.json → invalid/invalid-kind.json} +0 -0
  359. /package/fixtures/openapi/DeliveryExecutionHistoryPage/{valid-build.json → valid/valid-build.json} +0 -0
  360. /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"
@@ -4483,16 +4546,16 @@ func (e KubernetesImportedTargetWorkloadKind) Valid() bool {
4483
4546
 
4484
4547
  // Defines values for KubernetesPrometheusTransport.
4485
4548
  const (
4486
- Agent KubernetesPrometheusTransport = "agent"
4487
- Direct KubernetesPrometheusTransport = "direct"
4549
+ KubernetesPrometheusTransportAgent KubernetesPrometheusTransport = "agent"
4550
+ KubernetesPrometheusTransportDirect KubernetesPrometheusTransport = "direct"
4488
4551
  )
4489
4552
 
4490
4553
  // Valid indicates whether the value is a known member of the KubernetesPrometheusTransport enum.
4491
4554
  func (e KubernetesPrometheusTransport) Valid() bool {
4492
4555
  switch e {
4493
- case Agent:
4556
+ case KubernetesPrometheusTransportAgent:
4494
4557
  return true
4495
- case Direct:
4558
+ case KubernetesPrometheusTransportDirect:
4496
4559
  return true
4497
4560
  default:
4498
4561
  return false
@@ -8084,6 +8147,435 @@ func (e PermissionStatus) Valid() bool {
8084
8147
  }
8085
8148
  }
8086
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
+
8087
8579
  // Defines values for PlatformAuditLogResult.
8088
8580
  const (
8089
8581
  PlatformAuditLogResultDeny PlatformAuditLogResult = "deny"
@@ -8812,6 +9304,8 @@ const (
8812
9304
  SecretBindingCapability SecretBindingTargetType = "capability"
8813
9305
  SecretBindingConnection SecretBindingTargetType = "connection"
8814
9306
  SecretBindingProject SecretBindingTargetType = "project"
9307
+ SecretBindingVM SecretBindingTargetType = "vm"
9308
+ SecretBindingVMCreate SecretBindingTargetType = "vm_create"
8815
9309
  )
8816
9310
 
8817
9311
  // Valid indicates whether the value is a known member of the SecretBindingTargetType enum.
@@ -8823,6 +9317,55 @@ func (e SecretBindingTargetType) Valid() bool {
8823
9317
  return true
8824
9318
  case SecretBindingProject:
8825
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
8826
9369
  default:
8827
9370
  return false
8828
9371
  }
@@ -9191,6 +9734,27 @@ func (e UserProfileAvatarFit) Valid() bool {
9191
9734
  }
9192
9735
  }
9193
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
+
9194
9758
  // Defines values for VirtualMachineActionInputAction.
9195
9759
  const (
9196
9760
  VirtualMachineActionInputActionDelete VirtualMachineActionInputAction = "delete"
@@ -9242,6 +9806,204 @@ func (e VirtualMachinePowerInputAction) Valid() bool {
9242
9806
  }
9243
9807
  }
9244
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
+
9245
10007
  // Defines values for VirtualizationCapacityResultStatus.
9246
10008
  const (
9247
10009
  VirtualizationCapacityResultStatusAvailable VirtualizationCapacityResultStatus = "available"
@@ -9283,16 +10045,16 @@ func (e VirtualizationConnectionProvider) Valid() bool {
9283
10045
 
9284
10046
  // Defines values for VirtualizationConnectionInputProvider.
9285
10047
  const (
9286
- VirtualizationConnectionInputProviderKubevirt VirtualizationConnectionInputProvider = "kubevirt"
9287
- VirtualizationConnectionInputProviderPve VirtualizationConnectionInputProvider = "pve"
10048
+ Kubevirt VirtualizationConnectionInputProvider = "kubevirt"
10049
+ Pve VirtualizationConnectionInputProvider = "pve"
9288
10050
  )
9289
10051
 
9290
10052
  // Valid indicates whether the value is a known member of the VirtualizationConnectionInputProvider enum.
9291
10053
  func (e VirtualizationConnectionInputProvider) Valid() bool {
9292
10054
  switch e {
9293
- case VirtualizationConnectionInputProviderKubevirt:
10055
+ case Kubevirt:
9294
10056
  return true
9295
- case VirtualizationConnectionInputProviderPve:
10057
+ case Pve:
9296
10058
  return true
9297
10059
  default:
9298
10060
  return false
@@ -9329,6 +10091,24 @@ func (e VirtualizationWorkerPoolSpecOwner) Valid() bool {
9329
10091
  }
9330
10092
  }
9331
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
+
9332
10112
  // Defines values for WorkbenchAgentStatusEventProviderKind.
9333
10113
  const (
9334
10114
  WorkbenchAgentStatusEventProviderKindAnthropic WorkbenchAgentStatusEventProviderKind = "anthropic"
@@ -9339,6 +10119,7 @@ const (
9339
10119
  WorkbenchAgentStatusEventProviderKindGeneral WorkbenchAgentStatusEventProviderKind = "general"
9340
10120
  WorkbenchAgentStatusEventProviderKindHermes WorkbenchAgentStatusEventProviderKind = "hermes"
9341
10121
  WorkbenchAgentStatusEventProviderKindInternal WorkbenchAgentStatusEventProviderKind = "internal"
10122
+ WorkbenchAgentStatusEventProviderKindNative WorkbenchAgentStatusEventProviderKind = "native"
9342
10123
  WorkbenchAgentStatusEventProviderKindOpenai WorkbenchAgentStatusEventProviderKind = "openai"
9343
10124
  WorkbenchAgentStatusEventProviderKindOpenaiCompatible WorkbenchAgentStatusEventProviderKind = "openai-compatible"
9344
10125
  WorkbenchAgentStatusEventProviderKindOpenclaw WorkbenchAgentStatusEventProviderKind = "openclaw"
@@ -9365,6 +10146,8 @@ func (e WorkbenchAgentStatusEventProviderKind) Valid() bool {
9365
10146
  return true
9366
10147
  case WorkbenchAgentStatusEventProviderKindInternal:
9367
10148
  return true
10149
+ case WorkbenchAgentStatusEventProviderKindNative:
10150
+ return true
9368
10151
  case WorkbenchAgentStatusEventProviderKindOpenai:
9369
10152
  return true
9370
10153
  case WorkbenchAgentStatusEventProviderKindOpenaiCompatible:
@@ -9437,6 +10220,24 @@ func (e WorkbenchArtifactUpdatedEventType) Valid() bool {
9437
10220
  }
9438
10221
  }
9439
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
+
9440
10241
  // Defines values for WorkbenchCardCommandEventType.
9441
10242
  const (
9442
10243
  WorkbenchCardCommandEventTypeCardCommand WorkbenchCardCommandEventType = "card.command"
@@ -9680,6 +10481,24 @@ func (e WorkbenchMessageDoneEventType) Valid() bool {
9680
10481
  }
9681
10482
  }
9682
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
+
9683
10502
  // Defines values for WorkbenchModelOptionReasoningEfforts.
9684
10503
  const (
9685
10504
  WorkbenchModelOptionReasoningEffortsHigh WorkbenchModelOptionReasoningEfforts = "high"
@@ -9776,6 +10595,30 @@ func (e WorkbenchSessionActivity) Valid() bool {
9776
10595
  }
9777
10596
  }
9778
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
+
9779
10622
  // Defines values for WorkbenchSessionMetadataMode.
9780
10623
  const (
9781
10624
  WorkbenchSessionMetadataModeGeneral WorkbenchSessionMetadataMode = "general"
@@ -9851,6 +10694,30 @@ func (e WorkbenchSourceUpdatedEventType) Valid() bool {
9851
10694
  }
9852
10695
  }
9853
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
+
9854
10721
  // Defines values for WorkbenchThinkingDeltaEventType.
9855
10722
  const (
9856
10723
  WorkbenchThinkingDeltaEventTypeThinkingDelta WorkbenchThinkingDeltaEventType = "thinking.delta"
@@ -9955,25 +10822,25 @@ func (e WorkbenchToolStartedEventType) Valid() bool {
9955
10822
 
9956
10823
  // Defines values for WorkbenchUpdateSessionRequestMode.
9957
10824
  const (
9958
- General WorkbenchUpdateSessionRequestMode = "general"
9959
- InspectionReview WorkbenchUpdateSessionRequestMode = "inspection_review"
9960
- Performance WorkbenchUpdateSessionRequestMode = "performance"
9961
- RootCause WorkbenchUpdateSessionRequestMode = "root_cause"
9962
- 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"
9963
10830
  )
9964
10831
 
9965
10832
  // Valid indicates whether the value is a known member of the WorkbenchUpdateSessionRequestMode enum.
9966
10833
  func (e WorkbenchUpdateSessionRequestMode) Valid() bool {
9967
10834
  switch e {
9968
- case General:
10835
+ case WorkbenchUpdateSessionRequestModeGeneral:
9969
10836
  return true
9970
- case InspectionReview:
10837
+ case WorkbenchUpdateSessionRequestModeInspectionReview:
9971
10838
  return true
9972
- case Performance:
10839
+ case WorkbenchUpdateSessionRequestModePerformance:
9973
10840
  return true
9974
- case RootCause:
10841
+ case WorkbenchUpdateSessionRequestModeRootCause:
9975
10842
  return true
9976
- case Trace:
10843
+ case WorkbenchUpdateSessionRequestModeTrace:
9977
10844
  return true
9978
10845
  default:
9979
10846
  return false
@@ -11135,6 +12002,24 @@ func (e ListComputeTasksParamsSortOrder) Valid() bool {
11135
12002
  }
11136
12003
  }
11137
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
+
11138
12023
  // Defines values for ExportDeliveryDocumentParamsFormat.
11139
12024
  const (
11140
12025
  JSON ExportDeliveryDocumentParamsFormat = "json"
@@ -11364,17 +12249,23 @@ type AIEnvironmentLeaseListEnvelope struct {
11364
12249
  Items []AIEnvironmentLease `json:"items"`
11365
12250
  }
11366
12251
 
11367
- // 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.
11368
12253
  type AIEnvironmentTemplate struct {
11369
- Backend AIEnvironmentTemplateBackend `json:"backend"`
11370
- CreatedAt time.Time `json:"createdAt"`
11371
- ID string `json:"id"`
11372
- IsolationMode AIEnvironmentTemplateIsolationMode `json:"isolationMode"`
11373
- Name string `json:"name"`
11374
- NetworkPolicy map[string]any `json:"networkPolicy,omitempty"`
11375
- ResourcePolicy map[string]any `json:"resourcePolicy,omitempty"`
11376
- Status string `json:"status"`
11377
- 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"`
11378
12269
  }
11379
12270
 
11380
12271
  // AIEnvironmentTemplateBackend defines model for AIEnvironmentTemplate.Backend.
@@ -11385,17 +12276,24 @@ type AIEnvironmentTemplateIsolationMode string
11385
12276
 
11386
12277
  // AIEnvironmentTemplateEnvelope defines model for AIEnvironmentTemplateEnvelope.
11387
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.
11388
12280
  Data AIEnvironmentTemplate `json:"data"`
11389
12281
  }
11390
12282
 
11391
- // 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.
11392
12284
  type AIEnvironmentTemplateInput struct {
11393
- Backend AIEnvironmentTemplateInputBackend `json:"backend"`
11394
- ID string `json:"id"`
11395
- IsolationMode AIEnvironmentTemplateInputIsolationMode `json:"isolationMode"`
11396
- Name string `json:"name"`
11397
- NetworkPolicy map[string]any `json:"networkPolicy,omitempty"`
11398
- 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"`
11399
12297
  }
11400
12298
 
11401
12299
  // AIEnvironmentTemplateInputBackend defines model for AIEnvironmentTemplateInput.Backend.
@@ -11477,21 +12375,23 @@ type AIMemoryPolicyListEnvelope struct {
11477
12375
 
11478
12376
  // AIMemoryRecord defines model for AIMemoryRecord.
11479
12377
  type AIMemoryRecord struct {
11480
- Confidence float32 `json:"confidence"`
11481
- CreatedAt time.Time `json:"createdAt"`
11482
- DeletedAt *time.Time `json:"deletedAt,omitempty"`
11483
- ExpiresAt *time.Time `json:"expiresAt,omitempty"`
11484
- Fact string `json:"fact"`
11485
- ID string `json:"id"`
11486
- OwnerID string `json:"ownerId"`
11487
- OwnerType string `json:"ownerType"`
11488
- PolicyID string `json:"policyId,omitempty"`
11489
- PolicyVersion string `json:"policyVersion"`
11490
- ScopeHash string `json:"scopeHash"`
11491
- SourceRefs []string `json:"sourceRefs"`
11492
- SourceType AIMemoryRecordSourceType `json:"sourceType"`
11493
- Status string `json:"status"`
11494
- 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"`
11495
12395
  }
11496
12396
 
11497
12397
  // AIMemoryRecordSourceType defines model for AIMemoryRecord.SourceType.
@@ -11890,13 +12790,16 @@ type AgentRun struct {
11890
12790
  CapabilityID string `json:"capabilityId"`
11891
12791
 
11892
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.
11893
- Chat *AgentChatInput `json:"chat,omitempty"`
11894
- ID string `json:"id"`
11895
- Input map[string]any `json:"input,omitempty"`
11896
- 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"`
11897
12799
 
11898
12800
  // ParentRunID Parent run for a single read-only specialist delegation; absent on root runs.
11899
12801
  ParentRunID string `json:"parentRunId,omitempty"`
12802
+ Phase string `json:"phase,omitempty"`
11900
12803
  ProviderID string `json:"providerId"`
11901
12804
  ProviderKind string `json:"providerKind"`
11902
12805
  Scope map[string]any `json:"scope,omitempty"`
@@ -11905,12 +12808,17 @@ type AgentRun struct {
11905
12808
  SkillBindings []map[string]any `json:"skillBindings,omitempty"`
11906
12809
  SkillIDs []string `json:"skillIds,omitempty"`
11907
12810
  Status string `json:"status"`
12811
+ StopReason string `json:"stopReason,omitempty"`
11908
12812
  TimeoutSeconds int `json:"timeoutSeconds"`
11909
12813
  ToolBindings []map[string]any `json:"toolBindings,omitempty"`
11910
12814
  Toolset map[string]any `json:"toolset,omitempty"`
12815
+ UsageKnown bool `json:"usageKnown,omitempty"`
11911
12816
  AdditionalProperties map[string]any `json:"-"`
11912
12817
  }
11913
12818
 
12819
+ // AgentRunExecutionOwner defines model for AgentRun.ExecutionOwner.
12820
+ type AgentRunExecutionOwner string
12821
+
11914
12822
  // AgentRunCallbackRequest defines model for AgentRunCallbackRequest.
11915
12823
  type AgentRunCallbackRequest struct {
11916
12824
  AgentID string `json:"agentId"`
@@ -12155,6 +13063,24 @@ type AgentRunEnvelope struct {
12155
13063
  Data AgentRun `json:"data"`
12156
13064
  }
12157
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
+
12158
13084
  // AgentRunToolCallRequest defines model for AgentRunToolCallRequest.
12159
13085
  type AgentRunToolCallRequest struct {
12160
13086
  AdapterID string `json:"adapterId,omitempty"`
@@ -12214,6 +13140,55 @@ type AgentRunnerToolInputFormat string
12214
13140
  // AgentRunnerToolInputToolName Change target for change.request; this only creates a pending approval and never executes the change.
12215
13141
  type AgentRunnerToolInputToolName string
12216
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
+
12217
13192
  // AgentToolCallResult defines model for AgentToolCallResult.
12218
13193
  type AgentToolCallResult struct {
12219
13194
  Output map[string]any `json:"output,omitempty"`
@@ -13440,6 +14415,12 @@ type CapabilityResourceRef struct {
13440
14415
  Version string `json:"version,omitempty"`
13441
14416
  }
13442
14417
 
14418
+ // CapabilityScopeConstraint defines model for CapabilityScopeConstraint.
14419
+ type CapabilityScopeConstraint struct {
14420
+ Dimension string `json:"dimension"`
14421
+ Value string `json:"value"`
14422
+ }
14423
+
13443
14424
  // CapabilityTask A governed goal and its existing Workflow run. Domain tasks retain ownership of effects and cancellation.
13444
14425
  type CapabilityTask struct {
13445
14426
  Assessment *CapabilityAssessment `json:"assessment,omitempty"`
@@ -13449,11 +14430,12 @@ type CapabilityTask struct {
13449
14430
  Nodes []CapabilityTaskNode `json:"nodes"`
13450
14431
 
13451
14432
  // Plan Version-pinned capability calls compiled into the existing Workflow engine. No scripts, expressions, or arbitrary endpoints are accepted.
13452
- Plan CapabilityPlan `json:"plan"`
13453
- PlanVersion int `json:"planVersion,omitempty"`
13454
- Status string `json:"status"`
13455
- UpdatedAt time.Time `json:"updatedAt"`
13456
- 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"`
13457
14439
  }
13458
14440
 
13459
14441
  // CapabilityTaskEnvelope defines model for CapabilityTaskEnvelope.
@@ -13468,8 +14450,11 @@ type CapabilityTaskInput struct {
13468
14450
  IdempotencyKey string `json:"idempotencyKey"`
13469
14451
 
13470
14452
  // Plan Version-pinned capability calls compiled into the existing Workflow engine. No scripts, expressions, or arbitrary endpoints are accepted.
13471
- Plan CapabilityPlan `json:"plan"`
13472
- 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"`
13473
14458
  }
13474
14459
 
13475
14460
  // CapabilityTaskListEnvelope defines model for CapabilityTaskListEnvelope.
@@ -16101,12 +17086,15 @@ type DockerQuickCreateHostInput struct {
16101
17086
  DiskBytes int `json:"diskBytes,omitempty"`
16102
17087
  Environment string `json:"environment,omitempty"`
16103
17088
  FlavorID string `json:"flavorId,omitempty"`
16104
- ImageID string `json:"imageId,omitempty"`
16105
- Labels map[string]DockerPayloadValue `json:"labels,omitempty"`
16106
- MemoryBytes int `json:"memoryBytes,omitempty"`
16107
- Name string `json:"name"`
16108
- Network string `json:"network,omitempty"`
16109
- 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"`
16110
17098
 
16111
17099
  // RequireCapacity Require atomic provider capacity admission for the backing VM.
16112
17100
  RequireCapacity bool `json:"requireCapacity,omitempty"`
@@ -17727,30 +18715,36 @@ type KnowledgeBaseListEnvelope struct {
17727
18715
 
17728
18716
  // KnowledgeCitation defines model for KnowledgeCitation.
17729
18717
  type KnowledgeCitation struct {
17730
- ChunkID string `json:"chunkId"`
17731
- ContentHash string `json:"contentHash"`
17732
- DocumentID string `json:"documentId"`
17733
- DocumentTitle string `json:"documentTitle"`
17734
- ID string `json:"id"`
17735
- KnowledgeBaseID string `json:"knowledgeBaseId"`
17736
- Location KnowledgeSourceLocation `json:"location"`
17737
- Score float32 `json:"score"`
17738
- 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"`
17739
18730
  }
17740
18731
 
17741
18732
  // KnowledgeConnector defines model for KnowledgeConnector.
17742
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.
17743
18735
  Config map[string]any `json:"config"`
17744
18736
  CreatedAt time.Time `json:"createdAt"`
17745
18737
  ID string `json:"id"`
17746
18738
  Kind KnowledgeConnectorKind `json:"kind"`
17747
18739
  KnowledgeBaseID string `json:"knowledgeBaseId"`
17748
18740
  Name string `json:"name"`
17749
- SecretRef string `json:"secretRef"`
17750
- Status string `json:"status"`
17751
- SyncPolicy KnowledgeSyncPolicy `json:"syncPolicy"`
17752
- UpdatedAt time.Time `json:"updatedAt"`
17753
- 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"`
17754
18748
  }
17755
18749
 
17756
18750
  // KnowledgeConnectorKind defines model for KnowledgeConnector.Kind.
@@ -17763,13 +18757,16 @@ type KnowledgeConnectorEnvelope struct {
17763
18757
 
17764
18758
  // KnowledgeConnectorInput defines model for KnowledgeConnectorInput.
17765
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.
17766
18761
  Config map[string]any `json:"config"`
17767
18762
  Kind KnowledgeConnectorInputKind `json:"kind"`
17768
18763
  KnowledgeBaseID string `json:"knowledgeBaseId"`
17769
18764
  Name string `json:"name"`
17770
- SecretRef string `json:"secretRef"`
17771
- SyncPolicy KnowledgeSyncPolicy `json:"syncPolicy"`
17772
- 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"`
17773
18770
  }
17774
18771
 
17775
18772
  // KnowledgeConnectorInputKind defines model for KnowledgeConnectorInput.Kind.
@@ -18005,15 +19002,20 @@ type KnowledgeSearchRequest struct {
18005
19002
 
18006
19003
  // KnowledgeSearchResult defines model for KnowledgeSearchResult.
18007
19004
  type KnowledgeSearchResult struct {
18008
- CandidateCount int `json:"candidateCount"`
18009
- Citations []KnowledgeCitation `json:"citations"`
18010
- Hits []KnowledgeSearchHit `json:"hits"`
18011
- NoAnswer bool `json:"noAnswer"`
18012
- Query string `json:"query"`
18013
- TimingMs int64 `json:"timingMs"`
18014
- 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"`
18015
19014
  }
18016
19015
 
19016
+ // KnowledgeSearchResultRetrievalMode defines model for KnowledgeSearchResult.RetrievalMode.
19017
+ type KnowledgeSearchResultRetrievalMode string
19018
+
18017
19019
  // KnowledgeSearchResultEnvelope defines model for KnowledgeSearchResultEnvelope.
18018
19020
  type KnowledgeSearchResultEnvelope struct {
18019
19021
  Data KnowledgeSearchResult `json:"data"`
@@ -18047,14 +19049,7 @@ type KnowledgeSourceConfig struct {
18047
19049
  }
18048
19050
 
18049
19051
  // KnowledgeSourceDocument defines model for KnowledgeSourceDocument.
18050
- type KnowledgeSourceDocument struct {
18051
- ACL KnowledgeAccessScope `json:"acl"`
18052
- Content string `json:"content"`
18053
- ExternalID string `json:"externalId"`
18054
- Title string `json:"title"`
18055
- URI string `json:"uri,omitempty"`
18056
- Version string `json:"version,omitempty"`
18057
- }
19052
+ type KnowledgeSourceDocument = interface{}
18058
19053
 
18059
19054
  // KnowledgeSourceEnvelope defines model for KnowledgeSourceEnvelope.
18060
19055
  type KnowledgeSourceEnvelope struct {
@@ -21182,11 +22177,13 @@ type LLMCallLogListEnvelope struct {
21182
22177
 
21183
22178
  // LLMModelRoute defines model for LLMModelRoute.
21184
22179
  type LLMModelRoute struct {
21185
- CachePolicy map[string]any `json:"cachePolicy,omitempty"`
21186
- CreatedAt time.Time `json:"createdAt"`
21187
- Enabled bool `json:"enabled"`
21188
- FallbackPolicy map[string]any `json:"fallbackPolicy,omitempty"`
21189
- 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.
21190
22187
  Metadata map[string]any `json:"metadata,omitempty"`
21191
22188
  Priority int `json:"priority"`
21192
22189
  ProviderKind LLMModelRouteProviderKind `json:"providerKind,omitempty"`
@@ -21212,10 +22209,12 @@ type LLMModelRouteEnvelope struct {
21212
22209
 
21213
22210
  // LLMModelRouteInput defines model for LLMModelRouteInput.
21214
22211
  type LLMModelRouteInput struct {
21215
- CachePolicy map[string]any `json:"cachePolicy,omitempty"`
21216
- Enabled bool `json:"enabled,omitempty"`
21217
- FallbackPolicy map[string]any `json:"fallbackPolicy,omitempty"`
21218
- 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.
21219
22218
  Metadata map[string]any `json:"metadata,omitempty"`
21220
22219
  Priority int `json:"priority,omitempty"`
21221
22220
  ProviderKind LLMModelRouteInputProviderKind `json:"providerKind,omitempty"`
@@ -25106,6 +26105,421 @@ type PersonalAccessTokenListEnvelope struct {
25106
26105
  Items []PersonalAccessToken `json:"items"`
25107
26106
  }
25108
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
+
25109
26523
  // PlatformAuditLog defines model for PlatformAuditLog.
25110
26524
  type PlatformAuditLog struct {
25111
26525
  Action string `json:"action"`
@@ -26489,6 +27903,7 @@ type ScopeGrantType string
26489
27903
 
26490
27904
  // SecretBinding defines model for SecretBinding.
26491
27905
  type SecretBinding struct {
27906
+ Purpose SecretPurpose `json:"purpose,omitempty"`
26492
27907
  TargetRef string `json:"targetRef"`
26493
27908
  TargetType SecretBindingTargetType `json:"targetType"`
26494
27909
  }
@@ -26498,15 +27913,29 @@ type SecretBindingTargetType string
26498
27913
 
26499
27914
  // SecretCreateRequest Exactly one of value or vaultKv2 must be provided.
26500
27915
  type SecretCreateRequest struct {
26501
- Bindings []SecretBinding `json:"bindings,omitempty"`
26502
- Description string `json:"description,omitempty"`
26503
- Name string `json:"name"`
26504
- ScopeID string `json:"scopeId"`
26505
- ScopeType SecretScopeType `json:"scopeType"`
26506
- Value string `json:"value,omitempty"`
26507
- 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"`
26508
27934
  }
26509
27935
 
27936
+ // SecretKind defines model for SecretKind.
27937
+ type SecretKind string
27938
+
26510
27939
  // SecretLeaseGrant defines model for SecretLeaseGrant.
26511
27940
  type SecretLeaseGrant struct {
26512
27941
  ExpiresAt time.Time `json:"expiresAt"`
@@ -26530,17 +27959,19 @@ type SecretLeaseRedemptionEnvelope struct {
26530
27959
 
26531
27960
  // SecretMetadata defines model for SecretMetadata.
26532
27961
  type SecretMetadata struct {
26533
- Bindings []SecretBinding `json:"bindings"`
26534
- CreatedAt time.Time `json:"createdAt"`
26535
- CreatedBy string `json:"createdBy"`
26536
- CurrentVersion int `json:"currentVersion"`
26537
- Description string `json:"description,omitempty"`
26538
- ID string `json:"id"`
26539
- Name string `json:"name"`
26540
- ScopeID string `json:"scopeId"`
26541
- ScopeType SecretScopeType `json:"scopeType"`
26542
- Status SecretStatus `json:"status"`
26543
- 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"`
26544
27975
  }
26545
27976
 
26546
27977
  // SecretMetadataEnvelope defines model for SecretMetadataEnvelope.
@@ -26553,13 +27984,41 @@ type SecretMetadataListEnvelope struct {
26553
27984
  Items []SecretMetadata `json:"items"`
26554
27985
  }
26555
27986
 
27987
+ // SecretPurpose defines model for SecretPurpose.
27988
+ type SecretPurpose string
27989
+
26556
27990
  // SecretReferenceMap defines model for SecretReferenceMap.
26557
27991
  type SecretReferenceMap map[string]string
26558
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
+
26559
28010
  // SecretRotateRequest Exactly one of value or vaultKv2 must be provided.
26560
28011
  type SecretRotateRequest struct {
26561
- Value string `json:"value,omitempty"`
26562
- 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"`
26563
28022
  }
26564
28023
 
26565
28024
  // SecretScopeType defines model for SecretScopeType.
@@ -26588,6 +28047,8 @@ type SecretVaultKV2Reference struct {
26588
28047
  type SecretVersionMetadata struct {
26589
28048
  CreatedAt time.Time `json:"createdAt"`
26590
28049
  CreatedBy string `json:"createdBy"`
28050
+ Kind SecretKind `json:"kind,omitempty"`
28051
+ PublicKey *SecretSSHPublicKey `json:"publicKey,omitempty"`
26591
28052
  RevokedAt *time.Time `json:"revokedAt,omitempty"`
26592
28053
  SecretID string `json:"secretId"`
26593
28054
  Status SecretVersionStatus `json:"status"`
@@ -27320,6 +28781,14 @@ type UserProfileEnvelope struct {
27320
28781
  Data UserProfile `json:"data"`
27321
28782
  }
27322
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
+
27323
28792
  // VirtualMachine defines model for VirtualMachine.
27324
28793
  type VirtualMachine struct {
27325
28794
  AllowedActions []string `json:"allowedActions,omitempty"`
@@ -27356,6 +28825,45 @@ type VirtualMachine struct {
27356
28825
  UpdatedAt *time.Time `json:"updatedAt,omitempty"`
27357
28826
  }
27358
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
+
27359
28867
  // VirtualMachineActionInput defines model for VirtualMachineActionInput.
27360
28868
  type VirtualMachineActionInput struct {
27361
28869
  Action VirtualMachineActionInputAction `json:"action"`
@@ -27367,6 +28875,9 @@ type VirtualMachineActionInput struct {
27367
28875
  Disks []VirtualMachineDiskChange `json:"disks,omitempty"`
27368
28876
  MemoryMiB int `json:"memoryMiB,omitempty"`
27369
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"`
27370
28881
  }
27371
28882
 
27372
28883
  // VirtualMachineActionInputAction defines model for VirtualMachineActionInput.Action.
@@ -27395,26 +28906,31 @@ type VirtualMachineCreateInput struct {
27395
28906
  BootImageID string `json:"bootImageId,omitempty"`
27396
28907
 
27397
28908
  // CloudInit Sensitive bootstrap content. It is accepted for backward compatibility and never returned by plan or audit responses.
27398
- CloudInit string `json:"cloudInit,omitempty"`
27399
- ConnectionID string `json:"connectionId"`
27400
- CPU int `json:"cpu,omitempty"`
27401
- DiskGiB int `json:"diskGiB,omitempty"`
27402
- Disks []VirtualMachineDiskChange `json:"disks,omitempty"`
27403
- FlavorID string `json:"flavorId,omitempty"`
27404
- ImageID string `json:"imageId,omitempty"`
27405
- MemoryMiB int `json:"memoryMiB,omitempty"`
27406
- Name string `json:"name"`
27407
- Namespace string `json:"namespace,omitempty"`
27408
- Network string `json:"network,omitempty"`
27409
- Networks []VirtualMachineNetworkChange `json:"networks,omitempty"`
27410
- 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"`
27411
28925
 
27412
28926
  // ProviderParams Native provider-compatible JSON. Unknown fields are preserved and responses are not wrapped in an OpenSoha envelope.
27413
28927
  ProviderParams *NativeProviderObject `json:"providerParams,omitempty"`
27414
28928
 
27415
- // 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.
27416
- RequireCapacity bool `json:"requireCapacity,omitempty"`
27417
- 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.
27418
28934
  SourceMode string `json:"sourceMode,omitempty"`
27419
28935
  StartAfterCreate bool `json:"startAfterCreate,omitempty"`
27420
28936
  TemplateID string `json:"templateId,omitempty"`
@@ -27458,10 +28974,13 @@ type VirtualMachineDeviceListEnvelope struct {
27458
28974
 
27459
28975
  // VirtualMachineDiskChange defines model for VirtualMachineDiskChange.
27460
28976
  type VirtualMachineDiskChange struct {
27461
- Add bool `json:"add,omitempty"`
27462
- Bus string `json:"bus,omitempty"`
27463
- ID string `json:"id,omitempty"`
27464
- 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"`
27465
28984
  SizeGiB int `json:"sizeGiB,omitempty"`
27466
28985
  Storage string `json:"storage,omitempty"`
27467
28986
  }
@@ -27471,6 +28990,12 @@ type VirtualMachineEnvelope struct {
27471
28990
  Data VirtualMachine `json:"data"`
27472
28991
  }
27473
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
+
27474
28999
  // VirtualMachineListEnvelope defines model for VirtualMachineListEnvelope.
27475
29000
  type VirtualMachineListEnvelope struct {
27476
29001
  Items []VirtualMachine `json:"items"`
@@ -27535,6 +29060,104 @@ type VirtualMachinePowerInput struct {
27535
29060
  // VirtualMachinePowerInputAction defines model for VirtualMachinePowerInput.Action.
27536
29061
  type VirtualMachinePowerInputAction string
27537
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
+
27538
29161
  // VirtualizationCapacityEnvelope defines model for VirtualizationCapacityEnvelope.
27539
29162
  type VirtualizationCapacityEnvelope struct {
27540
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.
@@ -27557,23 +29180,71 @@ type VirtualizationCapacityInput struct {
27557
29180
  Namespace string `json:"namespace,omitempty"`
27558
29181
 
27559
29182
  // Node Optional exact provider node constraint.
27560
- Node string `json:"node,omitempty"`
29183
+ Node string `json:"node,omitempty"`
29184
+ StartAfterCreate *bool `json:"startAfterCreate,omitempty"`
27561
29185
 
27562
29186
  // Storage Optional exact PVE storage name or KubeVirt StorageClass.
27563
29187
  Storage string `json:"storage,omitempty"`
27564
29188
  }
27565
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
+
27566
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.
27567
29234
  type VirtualizationCapacityResult struct {
27568
- ConnectionID string `json:"connectionId"`
27569
- Namespace string `json:"namespace,omitempty"`
27570
- Node string `json:"node,omitempty"`
27571
- ObservedAt *time.Time `json:"observedAt,omitempty"`
27572
- Provider string `json:"provider,omitempty"`
27573
- Reason string `json:"reason"`
27574
- Status VirtualizationCapacityResultStatus `json:"status"`
27575
- Storage string `json:"storage,omitempty"`
27576
- 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"`
27577
29248
  }
27578
29249
 
27579
29250
  // VirtualizationCapacityResultStatus defines model for VirtualizationCapacityResult.Status.
@@ -27793,11 +29464,15 @@ type VirtualizationImageInput struct {
27793
29464
  Provider string `json:"provider,omitempty"`
27794
29465
  SizeBytes int64 `json:"sizeBytes,omitempty"`
27795
29466
  SizeGiB int64 `json:"sizeGiB,omitempty"`
27796
- SourceKind string `json:"sourceKind,omitempty"`
27797
- SourceRef string `json:"sourceRef,omitempty"`
27798
- Status string `json:"status,omitempty"`
27799
- StorageClass string `json:"storageClass,omitempty"`
27800
- 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"`
27801
29476
  }
27802
29477
 
27803
29478
  // VirtualizationImageListEnvelope defines model for VirtualizationImageListEnvelope.
@@ -27818,6 +29493,12 @@ type VirtualizationImagePageEnvelope struct {
27818
29493
  Data VirtualizationImagePage `json:"data"`
27819
29494
  }
27820
29495
 
29496
+ // VirtualizationMemoryOvercommitPolicy defines model for VirtualizationMemoryOvercommitPolicy.
29497
+ type VirtualizationMemoryOvercommitPolicy struct {
29498
+ Enabled bool `json:"enabled"`
29499
+ Percent int `json:"percent"`
29500
+ }
29501
+
27821
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.
27822
29503
  type VirtualizationOperation struct {
27823
29504
  Action string `json:"action,omitempty"`
@@ -27892,6 +29573,12 @@ type VirtualizationOperationPageEnvelope struct {
27892
29573
  Data VirtualizationOperationPage `json:"data"`
27893
29574
  }
27894
29575
 
29576
+ // VirtualizationOvercommitPolicy defines model for VirtualizationOvercommitPolicy.
29577
+ type VirtualizationOvercommitPolicy struct {
29578
+ Enabled bool `json:"enabled"`
29579
+ Percent int `json:"percent"`
29580
+ }
29581
+
27895
29582
  // VirtualizationWorkerCreateInput defines model for VirtualizationWorkerCreateInput.
27896
29583
  type VirtualizationWorkerCreateInput struct {
27897
29584
  IdempotencyKey string `json:"idempotencyKey"`
@@ -28053,21 +29740,24 @@ type WorkbenchAgentRun struct {
28053
29740
  CapabilityID string `json:"capabilityId"`
28054
29741
 
28055
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.
28056
- Chat *AgentChatInput `json:"chat,omitempty"`
28057
- ClaimedByAgentID string `json:"claimedByAgentId,omitempty"`
28058
- CompletedAt *time.Time `json:"completedAt,omitempty"`
28059
- CreatedAt time.Time `json:"createdAt"`
28060
- CreatedBy string `json:"createdBy"`
28061
- ErrorMessage string `json:"errorMessage,omitempty"`
28062
- ExternalRunID string `json:"externalRunId,omitempty"`
28063
- ID string `json:"id"`
28064
- Input map[string]any `json:"input,omitempty"`
28065
- LastHeartbeatAt *time.Time `json:"lastHeartbeatAt,omitempty"`
28066
- OperationState *WorkbenchOperationState `json:"operationState,omitempty"`
28067
- 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"`
28068
29757
 
28069
29758
  // ParentRunID Parent run for a single read-only specialist delegation; absent on root runs.
28070
29759
  ParentRunID string `json:"parentRunId,omitempty"`
29760
+ Phase string `json:"phase,omitempty"`
28071
29761
  ProviderID string `json:"providerId"`
28072
29762
  ProviderKind string `json:"providerKind"`
28073
29763
  QueuedAt time.Time `json:"queuedAt"`
@@ -28078,18 +29768,28 @@ type WorkbenchAgentRun struct {
28078
29768
  SkillIDs []string `json:"skillIds,omitempty"`
28079
29769
  StartedAt *time.Time `json:"startedAt,omitempty"`
28080
29770
  Status string `json:"status"`
29771
+ StopReason string `json:"stopReason,omitempty"`
28081
29772
  TimeoutSeconds int `json:"timeoutSeconds"`
28082
29773
  ToolBindings []WorkbenchAgentToolBinding `json:"toolBindings,omitempty"`
28083
29774
  ToolExecutions []WorkbenchToolExecution `json:"toolExecutions,omitempty"`
28084
29775
  Toolset *WorkbenchSessionToolset `json:"toolset,omitempty"`
28085
29776
  UpdatedAt time.Time `json:"updatedAt"`
29777
+ UsageKnown bool `json:"usageKnown,omitempty"`
28086
29778
  }
28087
29779
 
29780
+ // WorkbenchAgentRunExecutionOwner defines model for WorkbenchAgentRun.ExecutionOwner.
29781
+ type WorkbenchAgentRunExecutionOwner string
29782
+
28088
29783
  // WorkbenchAgentRunEnvelope defines model for WorkbenchAgentRunEnvelope.
28089
29784
  type WorkbenchAgentRunEnvelope struct {
28090
29785
  Data WorkbenchAgentRun `json:"data"`
28091
29786
  }
28092
29787
 
29788
+ // WorkbenchAgentRunListEnvelope defines model for WorkbenchAgentRunListEnvelope.
29789
+ type WorkbenchAgentRunListEnvelope struct {
29790
+ Items []WorkbenchAgentRun `json:"items"`
29791
+ }
29792
+
28093
29793
  // WorkbenchAgentSkillBinding defines model for WorkbenchAgentSkillBinding.
28094
29794
  type WorkbenchAgentSkillBinding struct {
28095
29795
  CapabilityRefs []string `json:"capabilityRefs,omitempty"`
@@ -28220,6 +29920,18 @@ type WorkbenchArtifactUpdatedEvent struct {
28220
29920
  // WorkbenchArtifactUpdatedEventType defines model for WorkbenchArtifactUpdatedEvent.Type.
28221
29921
  type WorkbenchArtifactUpdatedEventType string
28222
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
+
28223
29935
  // WorkbenchAutomationPolicy defines model for WorkbenchAutomationPolicy.
28224
29936
  type WorkbenchAutomationPolicy struct {
28225
29937
  AgentProviderID string `json:"agentProviderId,omitempty"`
@@ -28333,10 +30045,14 @@ type WorkbenchContextReference struct {
28333
30045
  // WorkbenchContextReferenceKind defines model for WorkbenchContextReference.Kind.
28334
30046
  type WorkbenchContextReferenceKind string
28335
30047
 
28336
- // 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.
28337
30049
  type WorkbenchContextSelection struct {
28338
30050
  Attachments []WorkbenchTextAttachment `json:"attachments,omitempty"`
28339
30051
 
30052
+ // FeedItemID Owned personal feed post
30053
+ FeedItemID string `json:"feedItemId,omitempty"`
30054
+ Images []WorkbenchImageAttachment `json:"images,omitempty"`
30055
+
28340
30056
  // MemoryIDs Explicit personal memory references; current owner, active policy and expiry are checked on every request.
28341
30057
  MemoryIDs []string `json:"memoryIds,omitempty"`
28342
30058
  References []WorkbenchContextReference `json:"references,omitempty"`
@@ -28493,6 +30209,13 @@ type WorkbenchHypothesis struct {
28493
30209
  Title string `json:"title"`
28494
30210
  }
28495
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
+
28496
30219
  // WorkbenchInsight defines model for WorkbenchInsight.
28497
30220
  type WorkbenchInsight struct {
28498
30221
  Actions []string `json:"actions,omitempty"`
@@ -28640,11 +30363,18 @@ type WorkbenchLaunchContext struct {
28640
30363
  // WorkbenchLaunchContextSourceWorkbench defines model for WorkbenchLaunchContext.SourceWorkbench.
28641
30364
  type WorkbenchLaunchContextSourceWorkbench string
28642
30365
 
30366
+ // WorkbenchMainSessionRequest defines model for WorkbenchMainSessionRequest.
30367
+ type WorkbenchMainSessionRequest struct {
30368
+ AgentProviderID string `json:"agentProviderId,omitempty"`
30369
+ }
30370
+
28643
30371
  // WorkbenchMessage defines model for WorkbenchMessage.
28644
30372
  type WorkbenchMessage struct {
28645
- Content string `json:"content"`
28646
- CreatedAt time.Time `json:"createdAt"`
28647
- 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.
28648
30378
  Metadata map[string]any `json:"metadata,omitempty"`
28649
30379
  Role WorkbenchMessageRole `json:"role"`
28650
30380
  SessionID string `json:"sessionId"`
@@ -28697,10 +30427,48 @@ type WorkbenchMessageListEnvelope struct {
28697
30427
  Items []WorkbenchMessage `json:"items"`
28698
30428
  }
28699
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
+
28700
30466
  // WorkbenchModelOption defines model for WorkbenchModelOption.
28701
30467
  type WorkbenchModelOption struct {
28702
- PublicModel string `json:"publicModel"`
28703
- 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"`
28704
30472
  }
28705
30473
 
28706
30474
  // WorkbenchModelOptionReasoningEfforts defines model for WorkbenchModelOption.ReasoningEfforts.
@@ -28741,6 +30509,17 @@ type WorkbenchOperationState struct {
28741
30509
  ToolExecutionCount int `json:"toolExecutionCount,omitempty"`
28742
30510
  }
28743
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
+
28744
30523
  // WorkbenchRootCauseRun defines model for WorkbenchRootCauseRun.
28745
30524
  type WorkbenchRootCauseRun struct {
28746
30525
  AlertID string `json:"alertId,omitempty"`
@@ -28825,9 +30604,12 @@ type WorkbenchSendMessageRequest struct {
28825
30604
  // WorkbenchSendMessageStreamRequest defines model for WorkbenchSendMessageStreamRequest.
28826
30605
  type WorkbenchSendMessageStreamRequest struct {
28827
30606
  AgentProviderID string `json:"agentProviderId,omitempty"`
28828
- Content string `json:"content"`
28829
30607
 
28830
- // 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.
28831
30613
  ContextSelection *WorkbenchContextSelection `json:"contextSelection,omitempty"`
28832
30614
  KnowledgeContext *struct {
28833
30615
  Enabled bool `json:"enabled"`
@@ -28839,11 +30621,17 @@ type WorkbenchSendMessageStreamRequest struct {
28839
30621
  ModelPreferences *WorkbenchModelPreferences `json:"modelPreferences,omitempty"`
28840
30622
 
28841
30623
  // PinnedContext May contain branchReference with kind session, sessionId and fixed messageIds; source ownership and availability are rechecked on every use.
28842
- 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"`
28843
30628
  ScopeOverrides AnyValue `json:"scopeOverrides,omitempty"`
28844
30629
  SelectionContext *WorkbenchSelectionContext `json:"selectionContext,omitempty"`
28845
30630
  Source string `json:"source,omitempty"`
28846
- 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"`
28847
30635
  }
28848
30636
 
28849
30637
  // WorkbenchSession defines model for WorkbenchSession.
@@ -28885,12 +30673,15 @@ type WorkbenchSessionMessageResultEnvelope struct {
28885
30673
 
28886
30674
  // WorkbenchSessionMetadata defines model for WorkbenchSessionMetadata.
28887
30675
  type WorkbenchSessionMetadata struct {
28888
- AgentProviderID string `json:"agentProviderId,omitempty"`
28889
- AnalysisRunRefs []WorkbenchRunRef `json:"analysisRunRefs,omitempty"`
28890
- ArchivedAt *time.Time `json:"archivedAt,omitempty"`
28891
- KnowledgeContext map[string]any `json:"knowledgeContext,omitempty"`
28892
- Mode WorkbenchSessionMetadataMode `json:"mode,omitempty"`
28893
- 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"`
28894
30685
 
28895
30686
  // PinnedContext May contain branchReference with kind session, sessionId and fixed messageIds; source ownership and availability are rechecked on every use.
28896
30687
  PinnedContext map[string]any `json:"pinnedContext,omitempty"`
@@ -28902,6 +30693,9 @@ type WorkbenchSessionMetadata struct {
28902
30693
  Toolset *WorkbenchSessionToolset `json:"toolset,omitempty"`
28903
30694
  }
28904
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
+
28905
30699
  // WorkbenchSessionMetadataMode defines model for WorkbenchSessionMetadata.Mode.
28906
30700
  type WorkbenchSessionMetadataMode string
28907
30701
 
@@ -28982,6 +30776,24 @@ type WorkbenchStreamEventBase struct {
28982
30776
  SessionID string `json:"sessionId"`
28983
30777
  }
28984
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
+
28985
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.
28986
30798
  type WorkbenchTextAttachment struct {
28987
30799
  Content string `json:"content"`
@@ -31084,6 +32896,11 @@ type ListAgentRunsParams struct {
31084
32896
  SessionID string `form:"sessionId,omitempty" json:"sessionId,omitempty"`
31085
32897
  }
31086
32898
 
32899
+ // ListAgentRunEventsParams defines parameters for ListAgentRunEvents.
32900
+ type ListAgentRunEventsParams struct {
32901
+ AfterSequence int `form:"afterSequence,omitempty" json:"afterSequence,omitempty"`
32902
+ }
32903
+
31087
32904
  // ListWorkbenchAnalysisRunsParams defines parameters for ListWorkbenchAnalysisRuns.
31088
32905
  type ListWorkbenchAnalysisRunsParams struct {
31089
32906
  ClusterID string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
@@ -31091,6 +32908,12 @@ type ListWorkbenchAnalysisRunsParams struct {
31091
32908
  Limit int `form:"limit,omitempty" json:"limit,omitempty"`
31092
32909
  }
31093
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
+
31094
32917
  // ListWorkbenchInspectionRunsParams defines parameters for ListWorkbenchInspectionRuns.
31095
32918
  type ListWorkbenchInspectionRunsParams struct {
31096
32919
  TaskID string `form:"taskId,omitempty" json:"taskId,omitempty"`
@@ -31107,6 +32930,17 @@ type ExecuteWorkbenchInspectionTaskParams struct {
31107
32930
  ExpectedRevision int `form:"expectedRevision,omitempty" json:"expectedRevision,omitempty"`
31108
32931
  }
31109
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
+
31110
32944
  // ListWorkbenchRootCauseRunsParams defines parameters for ListWorkbenchRootCauseRuns.
31111
32945
  type ListWorkbenchRootCauseRunsParams struct {
31112
32946
  ClusterID string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
@@ -31114,6 +32948,19 @@ type ListWorkbenchRootCauseRunsParams struct {
31114
32948
  Limit int `form:"limit,omitempty" json:"limit,omitempty"`
31115
32949
  }
31116
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
+
31117
32964
  // ListDeliveryBatchesParams defines parameters for ListDeliveryBatches.
31118
32965
  type ListDeliveryBatchesParams struct {
31119
32966
  ApplicationID string `form:"applicationId,omitempty" json:"applicationId,omitempty"`
@@ -31756,6 +33603,12 @@ type ListVirtualizationOperationLogsParams struct {
31756
33603
  Limit int `form:"limit,omitempty" json:"limit,omitempty"`
31757
33604
  }
31758
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
+
31759
33612
  // ListVirtualMachinesParams defines parameters for ListVirtualMachines.
31760
33613
  type ListVirtualMachinesParams struct {
31761
33614
  Provider string `form:"provider,omitempty" json:"provider,omitempty"`
@@ -32240,12 +34093,57 @@ type ClaimAgentRunJSONRequestBody = AgentRunClaimRequest
32240
34093
  // RecordAgentRunToolCallJSONRequestBody defines body for RecordAgentRunToolCall for application/json ContentType.
32241
34094
  type RecordAgentRunToolCallJSONRequestBody = AgentRunToolCallRequest
32242
34095
 
34096
+ // ResumeAgentRunJSONRequestBody defines body for ResumeAgentRun for application/json ContentType.
34097
+ type ResumeAgentRunJSONRequestBody = AgentRunResumeRequest
34098
+
32243
34099
  // CreateWorkbenchAnalysisProfileJSONRequestBody defines body for CreateWorkbenchAnalysisProfile for application/json ContentType.
32244
34100
  type CreateWorkbenchAnalysisProfileJSONRequestBody = WorkbenchAnalysisProfileInput
32245
34101
 
32246
34102
  // UpdateWorkbenchAnalysisProfileJSONRequestBody defines body for UpdateWorkbenchAnalysisProfile for application/json ContentType.
32247
34103
  type UpdateWorkbenchAnalysisProfileJSONRequestBody = WorkbenchAnalysisProfileInput
32248
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
+
32249
34147
  // CreateWorkbenchAutomationPolicyJSONRequestBody defines body for CreateWorkbenchAutomationPolicy for application/json ContentType.
32250
34148
  type CreateWorkbenchAutomationPolicyJSONRequestBody = WorkbenchAutomationPolicyInput
32251
34149
 
@@ -32273,6 +34171,9 @@ type CreateWorkbenchRootCauseRunJSONRequestBody = WorkbenchRootCauseRunInput
32273
34171
  // CreateWorkbenchSessionJSONRequestBody defines body for CreateWorkbenchSession for application/json ContentType.
32274
34172
  type CreateWorkbenchSessionJSONRequestBody = WorkbenchCreateSessionRequest
32275
34173
 
34174
+ // EnsureWorkbenchMainSessionJSONRequestBody defines body for EnsureWorkbenchMainSession for application/json ContentType.
34175
+ type EnsureWorkbenchMainSessionJSONRequestBody = WorkbenchMainSessionRequest
34176
+
32276
34177
  // UpdateWorkbenchSessionJSONRequestBody defines body for UpdateWorkbenchSession for application/json ContentType.
32277
34178
  type UpdateWorkbenchSessionJSONRequestBody = WorkbenchUpdateSessionRequest
32278
34179
 
@@ -32708,6 +34609,9 @@ type PostSAMLIdentityProviderSSOFormdataRequestBody = SAMLRequestForm
32708
34609
  // CreateSecretJSONRequestBody defines body for CreateSecret for application/json ContentType.
32709
34610
  type CreateSecretJSONRequestBody = SecretCreateRequest
32710
34611
 
34612
+ // GenerateSecretSSHKeyJSONRequestBody defines body for GenerateSecretSSHKey for application/json ContentType.
34613
+ type GenerateSecretSSHKeyJSONRequestBody = SecretGenerateSSHKeyRequest
34614
+
32711
34615
  // UpdateSecretJSONRequestBody defines body for UpdateSecret for application/json ContentType.
32712
34616
  type UpdateSecretJSONRequestBody = SecretUpdateRequest
32713
34617
 
@@ -32744,6 +34648,9 @@ type UploadSoftwarePackageMultipartRequestBody = SoftwarePackageUploadRequest
32744
34648
  // ImportSoftwarePackageJSONRequestBody defines body for ImportSoftwarePackage for application/json ContentType.
32745
34649
  type ImportSoftwarePackageJSONRequestBody = SoftwarePackageURLImportRequest
32746
34650
 
34651
+ // PrepareAgentSSHSessionJSONRequestBody defines body for PrepareAgentSSHSession for application/json ContentType.
34652
+ type PrepareAgentSSHSessionJSONRequestBody = AgentSSHSessionRequest
34653
+
32747
34654
  // CreateSystemIntegrationJSONRequestBody defines body for CreateSystemIntegration for application/json ContentType.
32748
34655
  type CreateSystemIntegrationJSONRequestBody = SystemIntegrationCreateRequest
32749
34656
 
@@ -32759,6 +34666,9 @@ type CreateVirtualizationClusterJSONRequestBody = VirtualizationConnectionInput
32759
34666
  // UpdateVirtualizationClusterJSONRequestBody defines body for UpdateVirtualizationCluster for application/json ContentType.
32760
34667
  type UpdateVirtualizationClusterJSONRequestBody = VirtualizationConnectionInput
32761
34668
 
34669
+ // UpdateVirtualizationCapacityPolicyJSONRequestBody defines body for UpdateVirtualizationCapacityPolicy for application/json ContentType.
34670
+ type UpdateVirtualizationCapacityPolicyJSONRequestBody = VirtualizationCapacityPolicyInput
34671
+
32762
34672
  // CreateVirtualizationFlavorJSONRequestBody defines body for CreateVirtualizationFlavor for application/json ContentType.
32763
34673
  type CreateVirtualizationFlavorJSONRequestBody = VirtualizationFlavorInput
32764
34674
 
@@ -32771,18 +34681,33 @@ type CreateVirtualizationImageJSONRequestBody = VirtualizationImageInput
32771
34681
  // UpdateVirtualizationImageJSONRequestBody defines body for UpdateVirtualizationImage for application/json ContentType.
32772
34682
  type UpdateVirtualizationImageJSONRequestBody = VirtualizationImageInput
32773
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
+
32774
34690
  // CreateVirtualMachineJSONRequestBody defines body for CreateVirtualMachine for application/json ContentType.
32775
34691
  type CreateVirtualMachineJSONRequestBody = VirtualMachineCreateInput
32776
34692
 
32777
34693
  // PlanVirtualMachineCreateJSONRequestBody defines body for PlanVirtualMachineCreate for application/json ContentType.
32778
34694
  type PlanVirtualMachineCreateJSONRequestBody = VirtualMachineCreateInput
32779
34695
 
34696
+ // UpdateVirtualMachineAccessBindingJSONRequestBody defines body for UpdateVirtualMachineAccessBinding for application/json ContentType.
34697
+ type UpdateVirtualMachineAccessBindingJSONRequestBody = VirtualMachineAccessBindingInput
34698
+
32780
34699
  // PerformVirtualMachineActionJSONRequestBody defines body for PerformVirtualMachineAction for application/json ContentType.
32781
34700
  type PerformVirtualMachineActionJSONRequestBody = VirtualMachineActionInput
32782
34701
 
32783
34702
  // PowerVirtualMachineJSONRequestBody defines body for PowerVirtualMachine for application/json ContentType.
32784
34703
  type PowerVirtualMachineJSONRequestBody = VirtualMachinePowerInput
32785
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
+
32786
34711
  // SaveVirtualizationWorkerPoolJSONRequestBody defines body for SaveVirtualizationWorkerPool for application/json ContentType.
32787
34712
  type SaveVirtualizationWorkerPoolJSONRequestBody = VirtualizationWorkerPoolInput
32788
34713
 
@@ -32855,6 +34780,22 @@ func (a *AgentRun) UnmarshalJSON(b []byte) error {
32855
34780
  delete(object, "chat")
32856
34781
  }
32857
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
+
32858
34799
  if raw, found := object["id"]; found {
32859
34800
  err = json.Unmarshal(raw, &a.ID)
32860
34801
  if err != nil {
@@ -32887,6 +34828,14 @@ func (a *AgentRun) UnmarshalJSON(b []byte) error {
32887
34828
  delete(object, "parentRunId")
32888
34829
  }
32889
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
+
32890
34839
  if raw, found := object["providerId"]; found {
32891
34840
  err = json.Unmarshal(raw, &a.ProviderID)
32892
34841
  if err != nil {
@@ -32951,6 +34900,14 @@ func (a *AgentRun) UnmarshalJSON(b []byte) error {
32951
34900
  delete(object, "status")
32952
34901
  }
32953
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
+
32954
34911
  if raw, found := object["timeoutSeconds"]; found {
32955
34912
  err = json.Unmarshal(raw, &a.TimeoutSeconds)
32956
34913
  if err != nil {
@@ -32975,6 +34932,14 @@ func (a *AgentRun) UnmarshalJSON(b []byte) error {
32975
34932
  delete(object, "toolset")
32976
34933
  }
32977
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
+
32978
34943
  if len(object) != 0 {
32979
34944
  a.AdditionalProperties = make(map[string]any)
32980
34945
  for fieldName, fieldBuf := range object {
@@ -33018,6 +34983,16 @@ func (a AgentRun) MarshalJSON() ([]byte, error) {
33018
34983
  }
33019
34984
  }
33020
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
+
33021
34996
  object["id"], err = json.Marshal(a.ID)
33022
34997
  if err != nil {
33023
34998
  return nil, fmt.Errorf("error marshaling 'id': %w", err)
@@ -33042,6 +35017,11 @@ func (a AgentRun) MarshalJSON() ([]byte, error) {
33042
35017
  return nil, fmt.Errorf("error marshaling 'parentRunId': %w", err)
33043
35018
  }
33044
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
+
33045
35025
  object["providerId"], err = json.Marshal(a.ProviderID)
33046
35026
  if err != nil {
33047
35027
  return nil, fmt.Errorf("error marshaling 'providerId': %w", err)
@@ -33090,6 +35070,11 @@ func (a AgentRun) MarshalJSON() ([]byte, error) {
33090
35070
  return nil, fmt.Errorf("error marshaling 'status': %w", err)
33091
35071
  }
33092
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
+
33093
35078
  object["timeoutSeconds"], err = json.Marshal(a.TimeoutSeconds)
33094
35079
  if err != nil {
33095
35080
  return nil, fmt.Errorf("error marshaling 'timeoutSeconds': %w", err)
@@ -33109,6 +35094,11 @@ func (a AgentRun) MarshalJSON() ([]byte, error) {
33109
35094
  }
33110
35095
  }
33111
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
+
33112
35102
  for fieldName, field := range a.AdditionalProperties {
33113
35103
  object[fieldName], err = json.Marshal(field)
33114
35104
  if err != nil {