@alienplatform/core 3.3.18 → 3.3.19

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.
package/dist/index.js CHANGED
@@ -4927,6 +4927,22 @@ const EventChangeSchema = z$2.union([
4927
4927
  })
4928
4928
  ]).describe("Represents a change to an event");
4929
4929
  //#endregion
4930
+ //#region src/generated/zod/gcp-agent-platform-sandbox-heartbeat-data-schema.ts
4931
+ /**
4932
+ * Generated by Kubb (https://kubb.dev/).
4933
+ * Do not edit manually.
4934
+ */
4935
+ /**
4936
+ * @description GCP: the Agent Platform template sessions are cut from, and the engine it hangs under.\n\nNo session count: that needs `aiplatform.sandboxEnvironments.list`, which only the management\npermission set holds. No template state either — emission is gated on reading it `ACTIVE`,\nwhich is what `status` already says.
4937
+ */
4938
+ const GcpAgentPlatformSandboxHeartbeatDataSchema = z$2.object({
4939
+ "engine": z$2.string().describe("Reasoning engine the template hangs under, without which the template id names nothing."),
4940
+ get "status"() {
4941
+ return SandboxHeartbeatStatusSchema;
4942
+ },
4943
+ "templateId": z$2.string().describe("The template sessions are currently cut from.")
4944
+ }).describe("GCP: the Agent Platform template sessions are cut from, and the engine it hangs under.\n\nNo session count: that needs `aiplatform.sandboxEnvironments.list`, which only the management\npermission set holds. No template state either — emission is gated on reading it `ACTIVE`,\nwhich is what `status` already says.");
4945
+ //#endregion
4930
4946
  //#region src/generated/zod/gcp-artifact-registry-import-data-schema.ts
4931
4947
  /**
4932
4948
  * Generated by Kubb (https://kubb.dev/).
@@ -6617,6 +6633,7 @@ const ResourceEntrySchema = z$2.object({
6617
6633
  const SandboxHeartbeatDataSchema = z$2.union([
6618
6634
  z$2.lazy(() => AwsMicrovmSandboxHeartbeatDataSchema).and(z$2.object({ "backend": z$2.enum(["awsMicrovm"]) })).describe("AWS: the image a sandbox runs from, and the lifecycle state AWS reports for it."),
6619
6635
  z$2.lazy(() => AzureSandboxGroupHeartbeatDataSchema).and(z$2.object({ "backend": z$2.enum(["azureSandboxGroup"]) })).describe("Azure: the sandbox group's ARM state. The data plane has no list operation, so a session count\nis not available here."),
6636
+ z$2.lazy(() => GcpAgentPlatformSandboxHeartbeatDataSchema).and(z$2.object({ "backend": z$2.enum(["gcpAgentPlatform"]) })).describe("GCP: the Agent Platform template sessions are cut from, and the engine it hangs under.\n\nNo session count: that needs `aiplatform.sandboxEnvironments.list`, which only the management\npermission set holds. No template state either — emission is gated on reading it `ACTIVE`,\nwhich is what `status` already says."),
6620
6637
  z$2.lazy(() => KubernetesSandboxHeartbeatDataSchema).and(z$2.object({ "backend": z$2.enum(["kubernetesPods"]) })).describe("Kubernetes: pods carrying the sandbox label, in the deployment's namespace."),
6621
6638
  z$2.lazy(() => LocalSandboxHeartbeatDataSchema).and(z$2.object({ "backend": z$2.enum(["local"]) })).describe("Local: containers Docker still holds for this sandbox.")
6622
6639
  ]).describe("Content-free telemetry about a sandbox's sessions.\n\nNever anything from inside a session. A controller reaches only the cloud's management APIs,\nand the whole point of the resource is that the control plane cannot see what runs in it.");
@@ -6966,7 +6983,7 @@ const SandboxSchema = z$2.object({
6966
6983
  get "limits"() {
6967
6984
  return z$2.union([SandboxLimitsSchema, z$2.null()]).optional();
6968
6985
  },
6969
- "previewPorts": z$2.optional(z$2.array(z$2.int().min(0)).describe("Ports eligible for a preview capability. A port not listed here can never be exposed,\nso an application cannot widen its own ingress at runtime.")),
6986
+ "previewPorts": z$2.optional(z$2.array(z$2.int().min(0)).describe("Ports eligible for a preview capability. An application reaches its sandbox through the\nprovider, so it cannot widen its own ingress at runtime; a holder of a remote binding's\ncredentials is bounded by no port condition, which is why a remote sandbox declares none.")),
6970
6987
  get "session"() {
6971
6988
  return SandboxSessionPolicySchema.describe("How long a session may live and when it is suspended.");
6972
6989
  }