Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix default values formatting
Tomas Valenta16dab9296b1e
diff --git a/packages/js-sdk/src/connectionConfig.ts b/packages/js-sdk/src/connectionConfig.tsindex c57dbfd30..e27d3e88e 100644--- a/packages/js-sdk/src/connectionConfig.ts+++ b/packages/js-sdk/src/connectionConfig.ts@@ -13,31 +13,31 @@ export interface ConnectionOpts {/*** E2B API key to use for authentication.*- * @default `E2B_API_KEY` environment variable+ * @default `E2B_API_KEY` // environment variable*/apiKey?: string/*** E2B access token to use for authentication.*- * @default `E2B_ACCESS_TOKEN` environment variable+ * @default `E2B_ACCESS_TOKEN` // environment variable*/accessToken?: string/*** Domain to use for the API.*- * @default `E2B_DOMAIN` environment variable or `e2b.dev`+ * @default `E2B_DOMAIN` // environment variable or `e2b.dev`*/domain?: string/*** If true the SDK starts in the debug mode and **connects to the local envd API server**.*- * @default `E2B_DEBUG` environment variable or `false`+ * @default `E2B_DEBUG` // environment variable or `false`*/debug?: boolean/*** Timeout for requests to the API in **milliseconds**.*- * @default 30_000+ * @default 30_000 // (30 seconds)*/requestTimeoutMs?: number/**diff --git a/packages/js-sdk/src/sandbox/commands/index.ts b/packages/js-sdk/src/sandbox/commands/index.tsindex f346f2677..d37a68f6b 100644--- a/packages/js-sdk/src/sandbox/commands/index.ts+++ b/packages/js-sdk/src/sandbox/commands/index.ts@@ -39,7 +39,7 @@ export interface CommandStartOpts extends CommandRequestOpts {/*** Working directory for the command.*- * @default `HOMEDIR` of the user+ * @default // home directory of the user used to start the command*/cwd?: string/**@@ -67,7 +67,7 @@ export interface CommandStartOpts extends CommandRequestOpts {/*** Timeout for the command in **milliseconds**.*- * @default 60_000 (60 seconds)+ * @default 60_000 // (60 seconds)*/timeoutMs?: number}diff --git a/packages/js-sdk/src/sandbox/commands/pty.ts b/packages/js-sdk/src/sandbox/commands/pty.tsindex b99e3213d..2875f2703 100644--- a/packages/js-sdk/src/sandbox/commands/pty.ts+++ b/packages/js-sdk/src/sandbox/commands/pty.ts@@ -36,7 +36,7 @@ export interface PtyCreateOpts/*** Timeout for the PTY in **milliseconds**.*- * @default 60_000 (60 seconds)+ * @default 60_000 // (60 seconds)*/timeoutMs?: number/**@@ -54,7 +54,7 @@ export interface PtyCreateOpts/*** Working directory for the PTY.*- * @default `HOMEDIR` of the user.+ * @default // home directory of the user used to start the PTY*/cwd?: string}diff --git a/packages/js-sdk/src/sandbox/filesystem/index.ts b/packages/js-sdk/src/sandbox/filesystem/index.tsindex ed05d0795..bfce8902f 100644--- a/packages/js-sdk/src/sandbox/filesystem/index.ts+++ b/packages/js-sdk/src/sandbox/filesystem/index.ts@@ -84,7 +84,7 @@ export interface WatchOpts extends FilesystemRequestOpts {* Timeout for the watch operation in **milliseconds**.* You can pass `0` to disable the timeout.*- * @default 60_000 (60 seconds)+ * @default 60_000 // (60 seconds)*/timeoutMs?: number/**diff --git a/packages/js-sdk/src/sandbox/index.ts b/packages/js-sdk/src/sandbox/index.tsindex 1a56cd26d..0190f2f70 100644--- a/packages/js-sdk/src/sandbox/index.ts+++ b/packages/js-sdk/src/sandbox/index.ts@@ -33,7 +33,7 @@ export interface SandboxOpts extends ConnectionOpts {/*** Timeout for the sandbox in **milliseconds**.*- * @default 300_000+ * @default 300_000 // (5 minutes)*/timeoutMs?: number}