@nylorun/core 0.50.0-beta → 0.51.0-beta
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/CHANGELOG.md +6 -0
- package/dist/contracts.d.ts +0 -18
- package/dist/contracts.js +1 -18
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @nylorun/core
|
|
2
2
|
|
|
3
|
+
## 0.51.0-beta
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 13eb181: No image carries the engine (ADR-161, breaking; see docs/upgrading/migration.md). The Tenant's `engine.images` is retired: `PUT /v1/tenant/sandbox` refuses it, `GET`, the `PUT` answer, the admin SDK and Studio's Compute tab no longer show it, and a value an older Runtime stored is dropped on read. The sandboxes service refuses `entrypoint: "builtin"`, so every pod copies or mounts the Runtime's engine and every computer runs the computer agent. A pod engine no longer reports an engine of its own at join. nylorun/agents no longer publishes `ghcr.io/nylorun/dev` or its `engine-<runtime>` builds (`images/dev`, `images/dev-engine` and their workflows are removed): pin your own computer image, built from the recipe in `docs/self-hosting/computer-images.md`.
|
|
8
|
+
|
|
3
9
|
## 0.50.0-beta
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/contracts.d.ts
CHANGED
|
@@ -1306,9 +1306,6 @@ export declare const TenantEnvironmentsConfigSchema: z.ZodObject<{
|
|
|
1306
1306
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
1307
1307
|
stopGrace: z.ZodOptional<z.ZodString>;
|
|
1308
1308
|
}, z.core.$strict>>;
|
|
1309
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
1310
|
-
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1311
|
-
}, z.core.$strict>>;
|
|
1312
1309
|
placement: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1313
1310
|
hosts: z.ZodArray<z.ZodEnum<{
|
|
1314
1311
|
"harness-container": "harness-container";
|
|
@@ -1335,9 +1332,6 @@ export declare const PutTenantEnvironmentsRequestSchema: z.ZodObject<{
|
|
|
1335
1332
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
1336
1333
|
stopGrace: z.ZodOptional<z.ZodString>;
|
|
1337
1334
|
}, z.core.$strict>>;
|
|
1338
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
1339
|
-
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1340
|
-
}, z.core.$strict>>;
|
|
1341
1335
|
placement: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1342
1336
|
hosts: z.ZodArray<z.ZodEnum<{
|
|
1343
1337
|
"harness-container": "harness-container";
|
|
@@ -7406,9 +7400,6 @@ export declare const SeedTenantConfigRequestSchema: z.ZodObject<{
|
|
|
7406
7400
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
7407
7401
|
stopGrace: z.ZodOptional<z.ZodString>;
|
|
7408
7402
|
}, z.core.$strict>>;
|
|
7409
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
7410
|
-
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7411
|
-
}, z.core.$strict>>;
|
|
7412
7403
|
placement: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7413
7404
|
hosts: z.ZodArray<z.ZodEnum<{
|
|
7414
7405
|
"harness-container": "harness-container";
|
|
@@ -8134,9 +8125,6 @@ export declare const EffectiveSandboxConfigSchema: z.ZodObject<{
|
|
|
8134
8125
|
sandbox: "sandbox";
|
|
8135
8126
|
}>>;
|
|
8136
8127
|
}, z.core.$strict>>>;
|
|
8137
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
8138
|
-
images: z.ZodArray<z.ZodString>;
|
|
8139
|
-
}, z.core.$strict>>;
|
|
8140
8128
|
}, z.core.$strict>;
|
|
8141
8129
|
export type EffectiveSandboxConfig = z.infer<typeof EffectiveSandboxConfigSchema>;
|
|
8142
8130
|
/**
|
|
@@ -8188,9 +8176,6 @@ export declare const TenantSandboxViewSchema: z.ZodObject<{
|
|
|
8188
8176
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
8189
8177
|
stopGrace: z.ZodOptional<z.ZodString>;
|
|
8190
8178
|
}, z.core.$strict>>;
|
|
8191
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
8192
|
-
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8193
|
-
}, z.core.$strict>>;
|
|
8194
8179
|
placement: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8195
8180
|
hosts: z.ZodArray<z.ZodEnum<{
|
|
8196
8181
|
"harness-container": "harness-container";
|
|
@@ -8221,9 +8206,6 @@ export declare const TenantSandboxViewSchema: z.ZodObject<{
|
|
|
8221
8206
|
sandbox: "sandbox";
|
|
8222
8207
|
}>>;
|
|
8223
8208
|
}, z.core.$strict>>>;
|
|
8224
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
8225
|
-
images: z.ZodArray<z.ZodString>;
|
|
8226
|
-
}, z.core.$strict>>;
|
|
8227
8209
|
}, z.core.$strict>;
|
|
8228
8210
|
cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8229
8211
|
namespace: z.ZodString;
|
package/dist/contracts.js
CHANGED
|
@@ -779,7 +779,7 @@ export const EnvironmentLimitsSchema = z
|
|
|
779
779
|
const runtimeFields = {
|
|
780
780
|
/** `virtual`, `pod` (needs sandbox pods, `nylorun local sandbox enable`) or `none`. Fixed. */
|
|
781
781
|
kind: z.enum(ENVIRONMENT_KINDS),
|
|
782
|
-
/** Pods only: the workload image (default
|
|
782
|
+
/** Pods only: the workload image, by digest (default `python:3.13-slim`). */
|
|
783
783
|
image: z.string().min(1).optional(),
|
|
784
784
|
resources: resourcesSchema.optional(),
|
|
785
785
|
/** Pods only: the volume's size (default 5GiB). Fixed. */
|
|
@@ -1522,21 +1522,6 @@ export const TenantEnvironmentsConfigSchema = z
|
|
|
1522
1522
|
})
|
|
1523
1523
|
.strict()
|
|
1524
1524
|
.optional(),
|
|
1525
|
-
/**
|
|
1526
|
-
* Pods: images that carry this Runtime's engine under `/opt/nylorun` (ADR-99), by repository
|
|
1527
|
-
* (`ghcr.io/nylorun/bot-worker`). A pod of a listed image runs that engine with nothing copied
|
|
1528
|
-
* in, while the engine is the Runtime's own version; otherwise the engine is copied in, as for
|
|
1529
|
-
* any other image.
|
|
1530
|
-
*/
|
|
1531
|
-
engine: z
|
|
1532
|
-
.object({
|
|
1533
|
-
images: z
|
|
1534
|
-
.array(z.string().min(1).max(256).regex(/^[a-z0-9]([a-z0-9._:/-]*[a-z0-9])?$/, "an image repository, without a tag or digest"))
|
|
1535
|
-
.max(32)
|
|
1536
|
-
.optional(),
|
|
1537
|
-
})
|
|
1538
|
-
.strict()
|
|
1539
|
-
.optional(),
|
|
1540
1525
|
/**
|
|
1541
1526
|
* Where each harness may run, by harness id (`nylorun`, or `*` for the rest):
|
|
1542
1527
|
* `harness-container` (the Runtime's harness) and `sandbox` (the engine in a pod).
|
|
@@ -4855,8 +4840,6 @@ export const EffectiveSandboxConfigSchema = z
|
|
|
4855
4840
|
placement: z
|
|
4856
4841
|
.record(z.string(), z.object({ hosts: z.array(z.enum(PLACEMENT_HOSTS)) }).strict())
|
|
4857
4842
|
.optional(),
|
|
4858
|
-
/** Pods: the image repositories that carry this Runtime's engine (ADR-99); none by default. */
|
|
4859
|
-
engine: z.object({ images: z.array(z.string()) }).strict().optional(),
|
|
4860
4843
|
})
|
|
4861
4844
|
.strict();
|
|
4862
4845
|
const SandboxBackendNameSchema = z.enum(["virtual", "local"]);
|