@raytrace-cli/cli 0.19.1 → 0.19.3
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/bin/raytrace.mjs +9 -3
- package/dist/dashboard/assets/{index-CimszXdN.js → index-BTBnJIAX.js} +2 -2
- package/dist/dashboard/assets/index-_SXHv625.css +1 -0
- package/dist/dashboard/favicon.svg +10 -3
- package/dist/dashboard/index.html +3 -3
- package/package.json +1 -1
- package/src/auth.mjs +9 -0
- package/src/sandbox.mjs +90 -9
- package/dist/dashboard/assets/index-B5ndFs_A.css +0 -1
package/bin/raytrace.mjs
CHANGED
|
@@ -30,8 +30,9 @@ Get started in the cloud (preview):
|
|
|
30
30
|
|
|
31
31
|
Cloud sandboxes:
|
|
32
32
|
raytrace auth login|status|logout your RayTrace sign-in
|
|
33
|
-
raytrace sandbox create [--name <name>]
|
|
34
|
-
|
|
33
|
+
raytrace sandbox create [--name <name>] [--size small|medium|large]
|
|
34
|
+
upload this Git repository to a new sandbox
|
|
35
|
+
(up to 200 MiB, 25 MiB a file, 20,000 files; default: small)
|
|
35
36
|
raytrace connect [id] [--claude|--codex] a terminal in it; with one sandbox the id is
|
|
36
37
|
optional (same as: raytrace sandbox shell [id]);
|
|
37
38
|
--claude or --codex starts that agent in it at
|
|
@@ -39,7 +40,10 @@ Cloud sandboxes:
|
|
|
39
40
|
raytrace --code <code> beta invite: redeem a code RayTrace gave you for one
|
|
40
41
|
free 3-day sandbox (signed in first; also: raytrace code <code>)
|
|
41
42
|
raytrace sandbox list
|
|
42
|
-
raytrace sandbox start
|
|
43
|
+
raytrace sandbox start [id] [--size small|medium|large]
|
|
44
|
+
start a stopped or archived sandbox (optionally resize)
|
|
45
|
+
raytrace sandbox stop [id]
|
|
46
|
+
raytrace sandbox keep-alive [id] pause the 15-minute idle auto-stop for 60 minutes
|
|
43
47
|
raytrace sandbox destroy [id] [--yes] [--keep-traces]
|
|
44
48
|
delete it; traces go too unless --keep-traces (paid plans)
|
|
45
49
|
|
|
@@ -206,6 +210,7 @@ if (command === 'sandbox') {
|
|
|
206
210
|
parsed = parseArgs({ args: rest, strict: true, allowPositionals: true, options: {
|
|
207
211
|
yes: { type: 'boolean', short: 'y' },
|
|
208
212
|
name: { type: 'string' },
|
|
213
|
+
size: { type: 'string' },
|
|
209
214
|
local: { type: 'boolean' },
|
|
210
215
|
'delete-logs': { type: 'boolean' },
|
|
211
216
|
'keep-logs': { type: 'boolean' },
|
|
@@ -225,6 +230,7 @@ if (command === 'sandbox') {
|
|
|
225
230
|
shell: () => sandbox.shell(id, parsed.values),
|
|
226
231
|
start: () => sandbox.start(id, parsed.values),
|
|
227
232
|
stop: () => sandbox.stop(id, parsed.values),
|
|
233
|
+
'keep-alive': () => sandbox.keepAlive(id, parsed.values),
|
|
228
234
|
destroy: () => sandbox.destroy(id, parsed.values),
|
|
229
235
|
files: () => sandbox.files(id, parsed.values),
|
|
230
236
|
};
|