withruntime 0.17.1 → 0.18.0

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/DAYTONA.md CHANGED
@@ -17,8 +17,8 @@ from withruntime.daytona import AsyncDaytona # was: from daytona import AsyncDa
17
17
  ```
18
18
 
19
19
  The mapping was written against `@daytona/sdk` 0.220.0 and `daytona` 0.220.0
20
- on PyPI, and checked against `@daytona/sdk` and `daytona` 0.224.1 on
21
- 15 October 2026 (below, "0.224.1"). The exact releases and artifact hashes
20
+ on PyPI, and checked against `@daytona/sdk` and `daytona` 0.225.0 on
21
+ 18 October 2026 (below, "0.225.0"). The exact releases and artifact hashes
22
22
  are kept in `compatibility-lock.json`.
23
23
 
24
24
  ## Keys
@@ -126,6 +126,37 @@ Some differences are not refusals:
126
126
  - `autoArchiveInterval` is recorded only: Runtime has no archive tier.
127
127
  - Runtime's stock image is Ubuntu 24.04 with Python 3.12, Node.js 24 and Bun.
128
128
 
129
+ ## 0.225.0, 18 October 2026
130
+
131
+ Reviewed the published npm tarballs for `@daytona/sdk`, `@daytona/api-client`,
132
+ `@daytona/toolbox-api-client` and `@daytona/analytics-api-client` 0.224.1 →
133
+ 0.225.0, and the PyPI wheel and sdist for `daytona` 0.224.1 → 0.225.0, each its
134
+ registry's latest when checked. Every pinned file matched the hash already in
135
+ `compatibility-lock.json`, every new file its registry's SHA-512 integrity or
136
+ SHA-256 digest, and the wheel's Python source is byte for byte its sdist's.
137
+ Nothing was installed, imported or run. No declaration of `@daytona/sdk` and no
138
+ Python source of `daytona` changed: only versions and the exact pins on the
139
+ three API clients. The one API change is in `@daytona/api-client` (and its
140
+ PyPI twins): `GpuType` gains `B200`.
141
+
142
+ | Upstream change | Drop-in disposition |
143
+ | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
144
+ | `GpuType.B200` | Exported, with every other `GpuType`. A create naming any GPU type is refused (`NotSupportedError`, "Runtime runs sandboxes on CPUs") before anything is made. |
145
+
146
+ Two gaps near it are closed with the review. `@daytona/sdk` re-exports
147
+ `GpuType`, `SnapshotState`, `SandboxListSortField`, `SandboxListSortDirection`,
148
+ `SandboxClass`, `ListSecretsPaginatedSortEnum` and
149
+ `ListSecretsPaginatedOrderEnum`, and `daytona` exports `GpuType`,
150
+ `SandboxClass`, `SandboxListSortField` and `SandboxListSortDirection`; the
151
+ drop-ins exported none of them, so code importing one failed. They are exported
152
+ now with upstream's values, and the sort enums drive `list`. Python refused
153
+ `Resources(gpu=...)` but made a CPU sandbox for `Resources(gpu_type=...)`
154
+ alone, which Daytona sends as a GPU request; it is refused now, as in
155
+ TypeScript. `tests/daytona/daytona-0-225-0.test.ts` and
156
+ `sdks/python/tests/test_daytona_0_225_0.py` fail without this change. The
157
+ oracle was not run against the new release, since it executes Daytona's code;
158
+ the provider remains marked `partial`.
159
+
129
160
  ## 0.224.1, 15 October 2026
130
161
 
131
162
  Reviewed the published npm tarballs for `@daytona/sdk`, `@daytona/api-client`,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "checkedAt": "2026-10-11",
3
+ "checkedAt": "2026-10-18",
4
4
  "providers": [
5
5
  {
6
6
  "id": "e2b",
@@ -49,42 +49,42 @@
49
49
  {
50
50
  "registry": "npm",
51
51
  "name": "@daytona/sdk",
52
- "version": "0.224.1",
52
+ "version": "0.225.0",
53
53
  "artifacts": {
54
- "0.224.1": "sha512-ZQCY9qOXnAXpYD8KhMzn27VNk6KYfBYCpHhij5Th36+fMXfG8qpxvnb3xau/H7ZWN1HPBhlzjaHHn/J+ZhH/OQ=="
54
+ "0.225.0": "sha512-PeE4INyipIP6HzSNAZTfR+As2u+rwddCAniCk9a/gEjEh4JpvyCyTNASjikpsTcZSn1XvksmxhxKFodv6x0YYQ=="
55
55
  }
56
56
  },
57
57
  {
58
58
  "registry": "pypi",
59
59
  "name": "daytona",
60
- "version": "0.224.1",
60
+ "version": "0.225.0",
61
61
  "artifacts": {
62
- "daytona-0.224.1-py3-none-any.whl": "sha256-2dedf1ef0c5f98dd0c3a70ab130284abdd7414a3b8a6f6452842c4f5dcc2a583",
63
- "daytona-0.224.1.tar.gz": "sha256-02d5a2fa8099f18503310a80b6b807c5fb18863738c13026ea4dad21a454a831"
62
+ "daytona-0.225.0-py3-none-any.whl": "sha256-8cdeb78e5d34b08c4818bd9dfa67fb693152c37eb0907067980fc1bd031256e5",
63
+ "daytona-0.225.0.tar.gz": "sha256-7fd2e9422360ca2d3b393af137231f4fd9d9a128c9a4070d231f8c776e446dc8"
64
64
  }
65
65
  },
66
66
  {
67
67
  "registry": "npm",
68
68
  "name": "@daytona/api-client",
69
- "version": "0.224.1",
69
+ "version": "0.225.0",
70
70
  "artifacts": {
71
- "0.224.1": "sha512-RFsDcGuifpyKnUHlfTLC9jDXXg7ZwciKlzmy0MBGcG5VKSRdwlRyqCaM9g6/k7m5eQ+N1ieQR2JAjZnVWn23YQ=="
71
+ "0.225.0": "sha512-P0HJOfLc3LGzeRdRhIogaA2q4+Of84UBCMWCFfnDeJ91pxQ4FExJ2KY5uF631MoNx1F+u2tc7fl0z0JuBNa/Uw=="
72
72
  }
73
73
  },
74
74
  {
75
75
  "registry": "npm",
76
76
  "name": "@daytona/toolbox-api-client",
77
- "version": "0.224.1",
77
+ "version": "0.225.0",
78
78
  "artifacts": {
79
- "0.224.1": "sha512-fiuBJedfubBMoLh1Z7VdAWsgnQaYGsQMZoAGV12IZ3R5D/ELFATd4tq/jW1mhSl7X27lxqSmtkHvaQt3ELRNPA=="
79
+ "0.225.0": "sha512-+LGQtqZTY0SBGMut3bhCPNU/cvfwKQcU1tAoVStZD9mM7EHWPey2TkMF+ZW0Fq2waWPEH2g7JhWWz9YFBUBQeQ=="
80
80
  }
81
81
  },
82
82
  {
83
83
  "registry": "npm",
84
84
  "name": "@daytona/analytics-api-client",
85
- "version": "0.224.1",
85
+ "version": "0.225.0",
86
86
  "artifacts": {
87
- "0.224.1": "sha512-CDW5CWbf5Ql0h31uZDD0vcOjJ8T0KimARqgni6gc9YICAoN0tx3getO4CDySTgjJpiYwH1qw4zlJs+h36L0T8w=="
87
+ "0.225.0": "sha512-zsj9YjBpXmQ2owhJF7+LEpKnekYy9D4wA52U6P7jsB7ng5KeSQ+3+0MFR3Bj3Cy3HIcKNW96e30F6olbiK/q+A=="
88
88
  }
89
89
  }
90
90
  ]
@@ -248,10 +248,10 @@
248
248
  {
249
249
  "registry": "pypi",
250
250
  "name": "prime-sandboxes",
251
- "version": "0.4.5",
251
+ "version": "0.4.6",
252
252
  "artifacts": {
253
- "prime_sandboxes-0.4.5-py3-none-any.whl": "sha256-3f24ed4830d2d823169fdb2df75de3b8355224bf867c0208d47eab0d3b33bb33",
254
- "prime_sandboxes-0.4.5.tar.gz": "sha256-4f7b7e50d3d60d3b459fb3ace5713e7d9eb136ac0aa79cf0e7ee7c75c63b0d82"
253
+ "prime_sandboxes-0.4.6-py3-none-any.whl": "sha256-e97c6e70c032e0b6d7defdb26d6192a02643ad279af1a4726ebceb35ee89d70c",
254
+ "prime_sandboxes-0.4.6.tar.gz": "sha256-23204a465500e9c20639e3043e92d703712d8c80b94d6434bfeb82c787102915"
255
255
  }
256
256
  }
257
257
  ]
@@ -0,0 +1,12 @@
1
+ import type { CliKit } from "./cli.js";
2
+ import type { Runtime } from "./client.js";
3
+ type Out = {
4
+ json: boolean;
5
+ write: (text: string) => void;
6
+ error: (text: string) => void;
7
+ };
8
+ export declare const APP_HELP = "runtime apps <command>\n\n An App serves your web server from an image or a build. Copies start when\n requests come and stop when they end, between --min-copies and --max-copies.\n In a private beta: outside it, each command says how to ask to join.\n\n create [<name>] --vcpu <1-16> --memory <128-65536> --max-copies <1-1000>\n [--min-copies 0] [--concurrency 100] [--spares 2] [--port 8080]\n [--health-path /healthz] [--label key=value]...\n Make an App, waiting for its first deploy; prints its id\n ls [--all] Your Apps: state, live version, copies; --all, deleted too\n get <app> One App, in full (an id or its name)\n update <app> [--name <name>] [--vcpu n] [--memory n] [--min-copies n] [--max-copies n]\n [--concurrency n] [--spares n] [--port n] [--health-path /path] [--label key=value]...\n Change its settings\n rm <app> Delete it and stop its copies\n deploy <app> (--image <image> | --build <buildId>) [--env KEY=VALUE]... [--keep-env]\n [--port 8080] [--health-path /healthz] [--no-wait]\n A new version. Waits until it is live, or says why it\n failed; --no-wait prints the deploy's id at once.\n --image: an image of yours (id, name, name:tag);\n --build: a build that succeeded (runtime builds).\n --env KEY alone sends KEY's value from your environment.\n --keep-env keeps the last deploy's environment, sealed\n deploys <app> [<deployId>] [--wait] Each version's deploy: state and address; with an id,\n that one (--wait: until it ends)\n versions <app> Its versions; the live and previous ones keep saved copies\n copies <app> Its copies now: version, region, state\n rollback <app> [--no-wait] Put the previous version live again\n\nExamples\n runtime apps create web --vcpu 1 --memory 512 --max-copies 3\n runtime apps deploy web --image web:latest --env NODE_ENV=production\n runtime apps rollback web\n";
9
+ export declare const BUILD_HELP = "runtime builds <command>\n\n A build turns a commit of a connected repository into a saved server an App\n deploys. A push to the production branch builds and deploys by itself.\n In a private beta: outside it, each command says how to ask to join.\n\n repos connect <owner/name | https URL> --deploy <app name> [--branch main] [--no-previews]\n [--root <folder>] [--install <command>] [--build <command>] [--start <command>]\n [--port 8080] [--health-path /healthz] [--build-env KEY=VALUE]... [--name <name>]\n Connect a repository; prints its id. --deploy takes an\n App's name, or function:<name>. --start runs once the\n build is done, with PORT set: the server the App deploys\n repos ls Connected repositories\n repos change <repoId> [the options of connect but the repository]\n Change its settings; its id and builds stay\n repos disconnect <repoId> Stop building it; its builds stay\n repos install A link to install Runtime's GitHub App, so a private\n repository builds\n create <repoId> [--ref main] [--branch <name>] [--name <name>]\n Build a branch, tag or commit now; prints the build's id\n run <repoId> [--ref main] [--branch <name>] [--name <name>] [--raw]\n The same, then follows its log; exits 0 once it succeeds\n ls [--repository <repoId>] [--commit <sha>] [--state <state>]...\n Builds, oldest first; --commit: a full sha\n get <buildId> One build: state, commit, step times, what it made\n cancel <buildId> Stop a build that has not ended\n logs <buildId> [--follow] [--raw] Its last 200 lines, or every line as it comes until it\n ends; on a terminal control characters show as \\uXXXX\n unless --raw\n\nExamples\n runtime builds repos connect acme/web --deploy web --start \"npm start\"\n runtime builds run <repoId> --ref main\n runtime builds ls --commit $(git rev-parse HEAD)\n";
10
+ export declare function appsCommand(argv: string[], env: NodeJS.ProcessEnv, out: Out, client: () => Promise<Runtime>, kit: CliKit): Promise<number>;
11
+ export declare function buildsCommand(argv: string[], out: Out, client: () => Promise<Runtime>, kit: CliKit): Promise<number>;
12
+ export {};