Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

fix(types): make stdin optional in CommandOptions (#931)

Meet Kotadiyac66c9cc0855a
diff --git a/packages/js-sdk/src/sandbox/commands/index.ts b/packages/js-sdk/src/sandbox/commands/index.ts
index 49d3f9311..f0fee1198 100644
--- a/packages/js-sdk/src/sandbox/commands/index.ts
+++ b/packages/js-sdk/src/sandbox/commands/index.ts
@@ -72,7 +72,7 @@ export interface CommandStartOpts extends CommandRequestOpts {
* If true, command stdin is kept open and you can send data to it using {@link Commands.sendStdin} or {@link CommandHandle.sendStdin}.
* @default false
*/
- stdin: boolean
+ stdin?: boolean
/**
* Timeout for the command in **milliseconds**.
*