@deepraxis/cli 0.1.0-dev.c01abef → 0.1.0-dev.c0c05d8

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.
Files changed (2) hide show
  1. package/dist/praxis.js +7 -7
  2. package/package.json +1 -1
package/dist/praxis.js CHANGED
@@ -12626,7 +12626,7 @@ for more details.`
12626
12626
  resource: "sandbox.sandboxes",
12627
12627
  method: "create",
12628
12628
  summary: "Create sandbox (v2)",
12629
- description: "Start an isolated environment using a templateID from templates.list, then retain sandboxID for lifecycle calls. Unlike E2B, templateID resolves to your ready Environment or a public Base; omit it to use the default base template (`base`), as the E2B SDK does. timeout is seconds from creation and defaults to 300. envVars supplies environment variables and metadata stores your string labels. All system communication is secured; use the returned envdAccessToken for files and commands through the envd data plane, not the management methods. Never print that token.",
12629
+ description: "Create a sandbox from the template. All system communication with the sandbox is secured.",
12630
12630
  http: "POST",
12631
12631
  path: "/sandbox/v1/sandboxes",
12632
12632
  streaming: "no",
@@ -12640,7 +12640,7 @@ for more details.`
12640
12640
  name: "templateID",
12641
12641
  type: "string",
12642
12642
  required: true,
12643
- description: "Template ID or alias from templates.list; resolves to your ready Environment first, then a public Base. Omit it to use the default base template (`base`)."
12643
+ description: "Identifier of the required template"
12644
12644
  },
12645
12645
  {
12646
12646
  name: "timeout",
@@ -12778,7 +12778,7 @@ for more details.`
12778
12778
  resource: "sandbox.sandboxes",
12779
12779
  method: "connect",
12780
12780
  summary: "Connect sandbox (v2)",
12781
- description: "Reconnect to an existing sandbox and resume it if paused. The optional timeout is seconds from now and defaults to 300; a later existing deadline is preserved. A running sandbox returns 200 and a resumed sandbox returns 201. Read sandboxID, domain and envdAccessToken from the response for subsequent data-plane access; never treat connecting as executing a command.",
12781
+ description: "Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.",
12782
12782
  http: "POST",
12783
12783
  path: "/sandbox/v1/sandboxes/{sandboxID}/connect",
12784
12784
  streaming: "no",
@@ -12937,7 +12937,7 @@ for more details.`
12937
12937
  resource: "sandbox.sandboxes.metrics",
12938
12938
  method: "list",
12939
12939
  summary: "Sandbox metrics",
12940
- description: "Read CPU, memory and disk usage over the requested interval; start and end are Unix seconds. Unlike E2B, light sandboxes do not provide metrics; check the returned capabilities before requesting them.",
12940
+ description: "Read CPU, memory and disk usage samples of a sandbox over a time window. Use it to size a sandbox or find out why it is slow. start and end are Unix timestamps in seconds; without them the recent samples are returned. An unknown id answers 404.",
12941
12941
  http: "GET",
12942
12942
  path: "/sandbox/v1/sandboxes/{sandboxID}/metrics",
12943
12943
  streaming: "no",
@@ -13022,7 +13022,7 @@ for more details.`
13022
13022
  resource: "sandbox.sandboxes",
13023
13023
  method: "pause",
13024
13024
  summary: "Pause sandbox",
13025
- description: "Suspend a running sandbox for later connection; use delete to discard it instead. Unlike E2B, light sandboxes preserve disk rather than memory, and persistent sandboxes can resume on data-plane traffic even when autoResume is false. Inspect paused state with the management retrieve operation to avoid waking the sandbox. Explicitly ephemeral sandboxes cannot pause. memory defaults to true, but only a memory-capable sandbox preserves running processes; memory=false saves disk state and resumes with a cold boot. Success returns 204; connect resumes the saved sandbox.",
13025
+ description: "Pause a running sandbox, keeping its files and memory so that connectSandbox can resume it later. Use it to stop paying for compute without losing state; to discard the sandbox use killSandbox. Success answers 204. A sandbox that is not running answers 409.",
13026
13026
  http: "POST",
13027
13027
  path: "/sandbox/v1/sandboxes/{sandboxID}/pause",
13028
13028
  streaming: "no",
@@ -13414,7 +13414,7 @@ for more details.`
13414
13414
  resource: "sandbox.templates",
13415
13415
  method: "list",
13416
13416
  summary: "List templates (v2)",
13417
- description: "Choose a templateID before creating a sandbox. Unlike E2B, this catalog lists your ready Environments and public Bases; use a returned ID or alias; `base` is the default template that create uses when templateID is omitted. Page through results using nextToken.",
13417
+ description: "List the templates you can create sandboxes from. Use it to pick the template id or alias for createSandbox. `base` is the default template that createSandbox uses when templateID is omitted. limit is 1 to 100 (default 100); send the cursor from the response back as nextToken to continue.",
13418
13418
  http: "GET",
13419
13419
  path: "/sandbox/v1/templates",
13420
13420
  streaming: "no",
@@ -23839,7 +23839,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
23839
23839
  }
23840
23840
 
23841
23841
  // src/main.ts
23842
- var version = "0.1.0-dev.c01abef";
23842
+ var version = "0.1.0-dev.c0c05d8";
23843
23843
  var commands = commandTree(operations);
23844
23844
  var manual = [["login"], ["logout"], ["whoami"], ["org", "list"], ["org", "switch"], ["api"], ["skill"]];
23845
23845
  function route(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/cli",
3
- "version": "0.1.0-dev.c01abef",
3
+ "version": "0.1.0-dev.c0c05d8",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "praxis": "dist/praxis.js"