@alienplatform/sdk 3.3.17 → 3.3.18
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/dist.js +5 -8
- package/package.json +4 -4
package/dist/dist.js
CHANGED
|
@@ -8714,10 +8714,6 @@ object({
|
|
|
8714
8714
|
"serviceAccountEmail": string().describe("Service account email the manager impersonates."),
|
|
8715
8715
|
"serviceAccountUniqueId": string().describe("Stable unique id Google assigns to the service account.")
|
|
8716
8716
|
}).describe("GCP RemoteStackManagement ImportData — cross-project service account\nthe manager impersonates.");
|
|
8717
|
-
object({
|
|
8718
|
-
"allowEgress": boolean().describe("Whether sessions may reach the network. Taken from the declaration rather than left to the\napplication: the launcher decides egress per sandbox at create time."),
|
|
8719
|
-
"launcherPath": string().describe("Path to the sandbox CLI Cloud Run injects when the container sets `sandboxLauncher`.")
|
|
8720
|
-
}).describe("GCP Sandbox ImportData.\n\nA Cloud Run sandbox has no durable parent: it is a nested gVisor sandbox started by a launcher\nbinary Cloud Run injects into the container, so there is no group, image or endpoint for setup\nto hand over. What the runtime needs is the launcher's path, and it is carried here rather than\nhardcoded in the provider so a change to where Cloud Run mounts it is a data change.");
|
|
8721
8717
|
/**
|
|
8722
8718
|
* Generated by Kubb (https://kubb.dev/).
|
|
8723
8719
|
* Do not edit manually.
|
|
@@ -10012,12 +10008,13 @@ object({
|
|
|
10012
10008
|
"domainEgressRules": boolean().describe("Egress can be restricted to a hostname allowlist"),
|
|
10013
10009
|
"egressDeny": boolean().describe("Whether a declared `deny` is actually enforced, rather than accepted and dropped"),
|
|
10014
10010
|
"enforcedLimits": boolean().describe("The platform enforces the declared cpu, memory and disk ceilings"),
|
|
10015
|
-
"files": boolean().describe("Files can be moved in and out of a session
|
|
10011
|
+
"files": boolean().describe("Files can be moved in and out of a session"),
|
|
10016
10012
|
"preview": boolean().describe("An authenticated, port-scoped capability to reach a service inside the sandbox"),
|
|
10017
10013
|
"processLimit": boolean().describe("The platform can cap how many processes a session runs"),
|
|
10018
10014
|
"reconnect": boolean().describe("A later call can reach a session created by an earlier one"),
|
|
10019
10015
|
"sessionLifetime": boolean().describe("The platform terminates a session at a declared wall-clock deadline"),
|
|
10020
10016
|
"snapshot": boolean().describe("A session's full state can be captured and used to create another"),
|
|
10017
|
+
"supervisorIsolation": boolean().describe("The process supervising a command is a different identity from the command.\n\nFalse where a command runs as the agent's own user: it can then read the supervisor's\nenvironment and signal it. Separate from `supervisorPidNamespace`, which is about\nvisibility rather than identity — a backend can have one without the other."),
|
|
10021
10018
|
"supervisorPidNamespace": boolean().describe("A command runs in its own PID namespace and cannot see or signal the agent's processes.\n\nOnly where an agent runs as root. Creating the namespace needs `CAP_SYS_ADMIN`, and the\nKubernetes sandbox pod drops every capability — which is also what denies `ptrace` by\nconstruction, so granting it there would remove a lock to add one."),
|
|
10022
10019
|
"suspendResume": boolean().describe("Session state can be suspended and resumed")
|
|
10023
10020
|
}).describe("What a platform's sandbox backend can actually do.\n\nPublished so portable code can branch before calling rather than discovering a gap through\nan error. Every field here corresponds to a capability that at least one platform lacks;\ncreate, exec and terminate are the guaranteed floor and are therefore not listed.");
|
|
@@ -10032,7 +10029,8 @@ _enum([
|
|
|
10032
10029
|
"enforcedLimits",
|
|
10033
10030
|
"processLimit",
|
|
10034
10031
|
"sessionLifetime",
|
|
10035
|
-
"supervisorPidNamespace"
|
|
10032
|
+
"supervisorPidNamespace",
|
|
10033
|
+
"supervisorIsolation"
|
|
10036
10034
|
]).describe("Names a single sandbox capability, so an unsupported call can report which one it needed.");
|
|
10037
10035
|
/**
|
|
10038
10036
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -10042,7 +10040,7 @@ _enum([
|
|
|
10042
10040
|
* @description Specifies where the sandbox\'s root filesystem comes from.
|
|
10043
10041
|
*/
|
|
10044
10042
|
const SandboxCodeSchema = union([object({
|
|
10045
|
-
"image": string().describe("Image reference (e.g. `ubuntu:24.04`, `ghcr.io/myorg/sandbox:latest`)"),
|
|
10043
|
+
"image": string().describe("Image reference (e.g. `ubuntu:24.04`, `ghcr.io/myorg/sandbox:latest`).\n\nTwo backends narrow it in opposite directions: AWS wants an `s3://` bundle, Azure a\nbare catalog name such as `ubuntu`. Each refuses the other's shape while planning."),
|
|
10046
10044
|
"type": _enum(["image"])
|
|
10047
10045
|
}), object({
|
|
10048
10046
|
"src": string().describe("The source directory to build from"),
|
|
@@ -10504,7 +10502,6 @@ object({
|
|
|
10504
10502
|
get "readinessProbe"() {
|
|
10505
10503
|
return union([ReadinessProbeSchema, _null()]).optional();
|
|
10506
10504
|
},
|
|
10507
|
-
"sandboxLauncher": optional(boolean().describe("Whether this worker hosts sandbox sessions.\n\nSet by preflight, not by an application: on GCP a sandbox is a subprocess of the Cloud Run\ninstance running the app, and the instance can only launch one if its container declares\nit. Declaring it by hand would be a permission the workload does not need.")),
|
|
10508
10505
|
"timeoutSeconds": optional(int().min(1).max(3600).default(180).describe("Maximum execution time for the worker in seconds.\nConstraints: 1‑3600 seconds (platform-specific limits may apply)\nDefault: 180")),
|
|
10509
10506
|
get "triggers"() {
|
|
10510
10507
|
return array(WorkerTriggerSchema.describe("Defines what triggers a worker execution.")).describe("List of triggers that define what events automatically invoke this worker.\nIf empty, the worker is only invokable directly via HTTP calls or platform-specific invocation APIs.\nWhen configured, the worker will be automatically invoked when any of the specified trigger conditions are met.");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alienplatform/sdk",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"nice-grpc": "^2.1.11",
|
|
58
58
|
"nice-grpc-common": "^2.0.2",
|
|
59
59
|
"zod": "4.4.3",
|
|
60
|
-
"@alienplatform/ai-gateway": "^3.3.
|
|
61
|
-
"@alienplatform/bindings": "^3.3.
|
|
62
|
-
"@alienplatform/core": "^3.3.
|
|
60
|
+
"@alienplatform/ai-gateway": "^3.3.18",
|
|
61
|
+
"@alienplatform/bindings": "^3.3.18",
|
|
62
|
+
"@alienplatform/core": "^3.3.18"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "tsdown && tsc --emitDeclarationOnly",
|