@alienplatform/core 3.3.18 → 3.3.20
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.d.ts +107 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1974,12 +1974,14 @@ const AwsS3StorageHeartbeatDataSchema = z$2.object({
|
|
|
1974
1974
|
});
|
|
1975
1975
|
z$2.object({
|
|
1976
1976
|
"allowEgress": z$2.optional(z$2.boolean().describe("Whether the declaration asked for open egress.\n\nThe controller builds the binding from this, and an empty connector list cannot be read\nwithout it: a stripped `deny` import would otherwise look exactly like an open sandbox.")),
|
|
1977
|
+
"buildRoleArn": z$2.string().describe("Role the controller passes to `CreateMicrovmImage`. Setup owns it because\n`sandbox/provision` grants the controller `iam:PassRole` and no `iam:CreateRole`.").nullish(),
|
|
1978
|
+
"bundleUri": z$2.string().describe("Bundle the controller builds the image from. Only a runtime-provisioned sandbox carries it.").nullish(),
|
|
1977
1979
|
"egressConnectorArns": z$2.optional(z$2.array(z$2.string()).describe("Egress network connectors. Deleting one while MicroVMs still reference it breaks their\nnetworking, so teardown needs them named rather than rediscovered.")),
|
|
1978
|
-
"imageArn": z$2.string().describe("MicroVM image ARN."),
|
|
1979
|
-
"imageIdentifier": z$2.string().describe("MicroVM image identifier."),
|
|
1980
|
-
"imageVersion": z$2.string().describe("Image version the sessions are scoped to. Re-imported on every image roll."),
|
|
1980
|
+
"imageArn": z$2.string().describe("MicroVM image ARN. Absent until a runtime-provisioned image has been built.").nullish(),
|
|
1981
|
+
"imageIdentifier": z$2.string().describe("MicroVM image identifier. Absent until a runtime-provisioned image has been built.").nullish(),
|
|
1982
|
+
"imageVersion": z$2.string().describe("Image version the sessions are scoped to. Re-imported on every image roll, and absent\nuntil a runtime-provisioned image has been built.").nullish(),
|
|
1981
1983
|
"previewPorts": z$2.optional(z$2.array(z$2.int().min(0)).describe("Ports a preview capability may be minted for; empty means preview is not offered."))
|
|
1982
|
-
}).describe("AWS Sandbox ImportData.\n\nCarries the
|
|
1984
|
+
}).describe("AWS Sandbox ImportData.\n\nCarries the sandbox's parent from the setup emitter to the runtime controller. The image\n**version** is not decoration: `RunMicrovm` has no `tags`, so image plus version is the only\nsession identity there is, and a controller holding a stale version would enumerate the wrong\nset and orphan every session started on the previous one.\n\nTwo shapes arrive here, and which fields are present says which. A Frozen sandbox is built by\nstack creation and names its image; a Live one is built by the controller after the deployment\nregisters, so it names the build role and bundle instead, leaving the image fields empty.");
|
|
1983
1985
|
//#endregion
|
|
1984
1986
|
//#region src/generated/zod/aws-service-account-import-data-schema.ts
|
|
1985
1987
|
/**
|
|
@@ -4927,6 +4929,22 @@ const EventChangeSchema = z$2.union([
|
|
|
4927
4929
|
})
|
|
4928
4930
|
]).describe("Represents a change to an event");
|
|
4929
4931
|
//#endregion
|
|
4932
|
+
//#region src/generated/zod/gcp-agent-platform-sandbox-heartbeat-data-schema.ts
|
|
4933
|
+
/**
|
|
4934
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4935
|
+
* Do not edit manually.
|
|
4936
|
+
*/
|
|
4937
|
+
/**
|
|
4938
|
+
* @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.
|
|
4939
|
+
*/
|
|
4940
|
+
const GcpAgentPlatformSandboxHeartbeatDataSchema = z$2.object({
|
|
4941
|
+
"engine": z$2.string().describe("Reasoning engine the template hangs under, without which the template id names nothing."),
|
|
4942
|
+
get "status"() {
|
|
4943
|
+
return SandboxHeartbeatStatusSchema;
|
|
4944
|
+
},
|
|
4945
|
+
"templateId": z$2.string().describe("The template sessions are currently cut from.")
|
|
4946
|
+
}).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.");
|
|
4947
|
+
//#endregion
|
|
4930
4948
|
//#region src/generated/zod/gcp-artifact-registry-import-data-schema.ts
|
|
4931
4949
|
/**
|
|
4932
4950
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -6617,6 +6635,7 @@ const ResourceEntrySchema = z$2.object({
|
|
|
6617
6635
|
const SandboxHeartbeatDataSchema = z$2.union([
|
|
6618
6636
|
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
6637
|
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."),
|
|
6638
|
+
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
6639
|
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
6640
|
z$2.lazy(() => LocalSandboxHeartbeatDataSchema).and(z$2.object({ "backend": z$2.enum(["local"]) })).describe("Local: containers Docker still holds for this sandbox.")
|
|
6622
6641
|
]).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 +6985,7 @@ const SandboxSchema = z$2.object({
|
|
|
6966
6985
|
get "limits"() {
|
|
6967
6986
|
return z$2.union([SandboxLimitsSchema, z$2.null()]).optional();
|
|
6968
6987
|
},
|
|
6969
|
-
"previewPorts": z$2.optional(z$2.array(z$2.int().min(0)).describe("Ports eligible for a preview capability.
|
|
6988
|
+
"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
6989
|
get "session"() {
|
|
6971
6990
|
return SandboxSessionPolicySchema.describe("How long a session may live and when it is suspended.");
|
|
6972
6991
|
}
|