These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)
| Commit: | b52cd30 | |
|---|---|---|
| Author: | Babis Chalios | |
| Committer: | GitHub | |
feat(sdk): filesystem-only snapshots via mode on createSnapshot (#1925) ## Summary Adds `mode: 'full' | 'filesystem'` (exported as `SnapshotMode`) to `createSnapshot` / `create_snapshot`. With `'filesystem'`, the SDK sends `memory: false` on the snapshot request and the API takes a filesystem-only snapshot: only the filesystem is persisted, so the snapshot is smaller and faster to take, and sandboxes created from it cold-boot instead of restoring memory. The source sandbox keeps running either way. When omitted, nothing is sent and the API default, a full memory snapshot, applies. The same `mode` is accepted by `pause()` and by the `lifecycle.onTimeout` / `lifecycle["on_timeout"]` pause object form. Their existing `keepMemory` / `keep_memory` option is deprecated in favor of it (`keepMemory: false` is `mode: 'filesystem'`) and keeps working. One resolver maps `mode` (or the deprecated flag) onto the wire `memory` / `autoPauseMemory` field for all three call sites; it rejects an unknown mode and passing both options with `InvalidArgumentError` / `InvalidArgumentException` before any request is sent. Spec copy updated from the API, both generated clients regenerated, docstrings and a changeset (minor for both SDKs) included. ## Usage ```ts import { Sandbox } from 'e2b' const sandbox = await Sandbox.create() // Filesystem-only snapshot: sandboxes created from it start fresh from disk const snapshot = await sandbox.createSnapshot({ mode: 'filesystem' }) // Filesystem-only pause: resuming cold-boots the sandbox await sandbox.pause({ mode: 'filesystem' }) // Filesystem-only auto-pause on timeout await Sandbox.create({ lifecycle: { onTimeout: { action: 'pause', mode: 'filesystem' } }, }) // Deprecated, still works: equivalent to mode: 'filesystem' await sandbox.pause({ keepMemory: false }) ``` ```python from e2b import Sandbox sandbox = Sandbox.create() snapshot = sandbox.create_snapshot(mode="filesystem") sandbox.pause(mode="filesystem") Sandbox.create(lifecycle={"on_timeout": {"action": "pause", "mode": "filesystem"}}) # Deprecated, still works sandbox.pause(keep_memory=False) ``` ## Server side The API support merged in e2b-dev/belt#4073 on top of the orchestrator support in e2b-dev/belt#4049. The API refuses `memory: false` with 400 `snapshot_filesystem_only_disabled` while the feature is not enabled for the team, and with 409 `snapshot_filesystem_only_unsupported_node` when the sandbox's node runs an orchestrator that predates the field. A request is never downgraded to a memory snapshot by a server that understands the field. ## Why this is a draft An API deployment from before e2b-dev/belt#4073 accepts the request body, ignores `memory`, and takes a memory snapshot while answering 201. Releasing this before production runs the new API would let callers ask for a filesystem-only snapshot and silently get a full one. Keep this in draft until production has the API build, then release. The SDK tests for the new option call the live API with `mode: 'filesystem'`. Where the feature is off for the test team the API answers 400 and the tests skip with that reason; where it is on, they prove the snapshot kind: the source keeps its kernel boot id across the snapshot and the sandbox created from it reports a different one, which a memory snapshot cannot produce. Against an API that predates the field those assertions fail, by design. ## Verification - Rebased on `main`; Python modules compile; the JS SDK typechecks. - `spec/runtime-ref` is bumped to the e2b-dev/runtime commit that carries the API change and both clients are regenerated with `make codegen`, so the Generated files check passes. The bump also pulls in the upstream spec changes since the previous pin (team id description, cached node admission fields, the `secret_limit_reached` error code, envd `oom_kills` replacing the memory counters, `is_symlink` on the filesystem proto); none of them is read by SDK code outside the generated files. - `mode` is keyword-only in Python (`pause` keeps `keep_memory` positional for compatibility). Both SDKs document the 400 and 409 refusals on `createSnapshot` / `create_snapshot`. - Unit tests cover the `mode` → `memory` / `autoPauseMemory` mapping, the deprecated flag, and the rejected combinations; the filesystem-mode integration tests (snapshot, pause, timeout auto-pause) pass against production in JS and Python sync/async. - The three filesystem-only snapshot tests (JS, Python sync, Python async) assert the cold boot through the kernel boot id, read with a command rather than `files.read` because envd serves procfs files as an empty 200, and skip on the 400 `snapshot_filesystem_only_disabled` refusal. - End-to-end behaviour of the filesystem-only snapshot (no memfile written, source keeps the same Firecracker process, cold-boot from the template, 400 and 409 refusals) was verified against a dev cluster from the API side. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: Babis Chalios <babis.chalios@e2b.dev> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> Co-authored-by: Mish Ushakov <10400064+mishushakov@users.noreply.github.com>
| Commit: | 917f733 | |
|---|---|---|
| Author: | Babis Chalios | |
| Committer: | Babis Chalios | |
feat(sdk): filesystem-only snapshots via keepMemory on createSnapshot `createSnapshot({ keepMemory: false })` (JS) and `create_snapshot(keep_memory=False)` (Python) send `memory: false` on the snapshot request, mirroring the pause option: only the filesystem is persisted, so the snapshot is smaller and faster to take, and sandboxes created from it cold-boot instead of restoring memory. The source sandbox keeps running either way. Omitted, nothing is sent and the API default (a full memory snapshot) applies. The runtime spec pin (spec/runtime-ref) moves to the e2b-dev/runtime commit that carries the API change, and both clients are regenerated from it with the repo's codegen. The pin bump also brings the spec changes landed upstream since the previous pin (18 September): the team_id description, cached node admission fields, the secret_limit_reached error code and 409 body, the envd metrics change from mem_total_mib/mem_used_mib to oom_kills, and is_symlink on the filesystem proto. The last one is honoured: newer envd reports a symlink's target type in `type` and marks the link with is_symlink, so both filesystem mappers now report FileType.SYMLINK when the flag is set and keep the old enum mapping otherwise, with unit tests for links to a file and to a directory. Nothing else in the regenerated files is read by SDK code. keep_memory is keyword-only in Python. Both SDKs document the two refusals: status 400 (snapshot_filesystem_only_disabled) while the feature is off for the team, and 409 (snapshot_filesystem_only_unsupported_node) when the sandbox's node runs an orchestrator that predates the option. The SDK tests prove the snapshot kind rather than only the file copy: the source keeps its kernel boot id across the snapshot and the sandbox created from it reports a different one, which a memory snapshot cannot produce. The boot id is read with a command, not files.read, because envd serves procfs files as an empty 200. Where the feature is off for the team the API answers 400 and the tests skip with that reason. Signed-off-by: Babis Chalios <babis.chalios@e2b.dev> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
| Commit: | bb6ec7c | |
|---|---|---|
| Author: | Devin AI | |
chore(codegen): sync envd generated files Co-Authored-By: mish@e2b.dev <mish@e2b.dev>
| Commit: | 5920e38 | |
|---|---|---|
| Author: | Babis Chalios | |
| Committer: | Babis Chalios | |
feat(sdk): filesystem-only snapshots via keepMemory on createSnapshot `createSnapshot({ keepMemory: false })` (JS) and `create_snapshot(keep_memory=False)` (Python) send `memory: false` on the snapshot request, mirroring the pause option: only the filesystem is persisted, so the snapshot is smaller and faster to take, and sandboxes created from it cold-boot instead of restoring memory. The source sandbox keeps running either way. Omitted, nothing is sent and the API default (a full memory snapshot) applies. The runtime spec pin (spec/runtime-ref) moves to the e2b-dev/runtime commit that carries the API change, and both clients are regenerated from it with the repo's codegen. The pin bump also brings the spec changes landed upstream since the previous pin (18 September): the team_id description, cached node admission fields, the secret_limit_reached error code and 409 body, the envd metrics change from mem_total_mib/mem_used_mib to oom_kills, and is_symlink on the filesystem proto. None of them is read by SDK code outside the generated files. keep_memory is keyword-only in Python. Both SDKs document the two refusals: status 400 (snapshot_filesystem_only_disabled) while the feature is off for the team, and 409 (snapshot_filesystem_only_unsupported_node) when the sandbox's node runs an orchestrator that predates the option. The SDK tests prove the snapshot kind rather than only the file copy: the source keeps its kernel boot id across the snapshot and the sandbox created from it reports a different one, which a memory snapshot cannot produce. The boot id is read with a command, not files.read, because envd serves procfs files as an empty 200. Where the feature is off for the team the API answers 400 and the tests skip with that reason. Signed-off-by: Babis Chalios <babis.chalios@e2b.dev> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
| Commit: | 9c53771 | |
|---|---|---|
| Author: | Devin AI | |
sdk: resume command and PTY output streams after dropped connections Track delivered stdout/stderr/pty offsets in the JS and Python (sync and async) command handles and, when the envd stream drops with a transient transport error, reconnect with ConnectRequest.resume_from so envd replays the output produced in the meantime. Streams from envd versions that do not emit Start offsets keep the previous single-connection behaviour. Replay window exhaustion surfaces as CommandOutputLostError / CommandOutputLostException. Co-Authored-By: mish@e2b.dev <mish@e2b.dev>
| Commit: | 4fcf7cb | |
|---|---|---|
| Author: | Mish Ushakov | |
| Committer: | GitHub | |
feat: sync API specs from infra and belt with Copybara (#1564) The specs in `spec/` were copied from their source repos by hand and had drifted ~2,400 lines behind infra, so they are now imported with Copybara (`copy.bara.sky`, run in a pinned Docker image by `scripts/fetch-spec.sh`): `make codegen` re-fetches them at the commits pinned in `spec/infra-ref` and `spec/belt-ref` before generating, and the generated-files CI check fails if the tracked copies don't match the pins. Regenerating from the current pins picks up the accumulated spec changes in the generated JS/Python clients (renamed request schemas, `SandboxNetworkConfig`, `SandboxIam` workload identity, `FILE_TYPE_SYMLINK`, access-token auth deprecation, volume path-metadata tweaks). The one handwritten SDK change follows from that: the public `FileType` enums gain a `SYMLINK` member (JS and both Python surfaces) so entries envd reports as symlinks show up in `files.list()` and `getInfo()`/`get_info()` instead of being silently skipped as unknown types. The custom `spec/remove_extra_tags.py` tag-filtering script is replaced by Redocly CLI's `filter-in` decorator (`redocly.yaml`), which produces identical generated JS output; a `filter-out` decorator additionally drops any operation or component schema the upstream specs mark `x-not-implemented: true` (currently the SOCKS5 `SandboxEgressProxyConfig`/`egressProxy` surface, which infra flagged as spec-only); each SDK's bundle now goes to its own gitignored `spec/openapi_generated.<api>.yml` instead of both pipelines overwriting one shared file; Python client models now list fields in spec order instead of alphabetical (mechanical reordering only — construct models with keyword args). Spec fetches try whatever GitHub token is available and fall back to the tracked copies with a warning (the public infra specs also fetch anonymously); in CI a short-lived belt-scoped token is minted from the org-wide Autofixer GitHub App (no new secrets), so fork PRs simply fall back for the belt spec; the CI workflows also cache the Copybara image alongside the codegen image, and the previously ignored `CODEGEN_IMAGE` env is honored by the Makefile. ## Usage ```sh # update the specs: bump a pin, then regenerate echo <infra-commit-sha> > spec/infra-ref make codegen # fetch a single spec without regenerating pnpm fetch:api-spec # spec/openapi.yml from infra pnpm fetch:envd-spec # spec/envd/ from infra pnpm fetch:volume-spec # spec/openapi-volumecontent.yml from belt # try the latest spec without touching the pin E2B_INFRA_REF=main pnpm fetch:api-spec # change which endpoint tags an SDK exposes $EDITOR redocly.yaml && make codegen ``` ```ts // symlinks are now visible in the filesystem API (JS; same shape in Python) const entries = await sandbox.files.list('/home/user') const link = entries.find((e) => e.type === FileType.SYMLINK) console.log(link?.symlinkTarget) ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
| Commit: | 9602b8a | |
|---|---|---|
| Author: | Mish Ushakov | |
feat: sync API specs from source-of-truth repos with Copybara The specs in spec/ were copied from e2b-dev/infra and e2b-dev/belt by hand and had drifted far behind. They are now imported with Copybara (copy.bara.sky, run in a pinned Docker image by scripts/fetch-spec.sh): make codegen re-fetches them at the commits pinned in spec/infra-ref and spec/belt-ref before generating, and the generated-files CI check fails if the tracked copies do not match the pins. Updating a spec is now just bumping the pin and re-running make codegen. Regenerating from the current pins picks up the accumulated spec changes (renamed request schemas, SandboxNetworkConfig, FILE_TYPE_SYMLINK, access-token auth deprecation, volume path metadata tweaks) in the generated JS and Python clients. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
| Commit: | e873ee9 | |
|---|---|---|
| Author: | Mish Ushakov | |
| Committer: | GitHub | |
feat(sdk): add allowNetworkMounts option to filesystem watch (#1420) Client-side counterpart to [e2b-dev/infra#2982](https://github.com/e2b-dev/infra/pull/2982): adds an `allowNetworkMounts`/`allow_network_mounts` option to filesystem directory watching across the JS and Python (sync + async) SDKs, so clients can explicitly opt into watching paths on network filesystem mounts (NFS, CIFS, SMB, FUSE), which envd rejects by default. Events on network mounts may be unreliable or not delivered at all, hence the explicit opt-in. This regenerates the filesystem proto code from the updated spec and threads the flag through `watchDir`/`watch_dir` (streaming `WatchDir` and polling `CreateWatcher`). The option requires envd 0.6.4 (shipped by the infra PR); using it against an older sandbox throws a `TemplateError`/`TemplateException`. Default behavior is unchanged. Includes new watch tests for all three SDKs and a minor-bump changeset for `e2b` and `@e2b/python-sdk`. > Note: the new tests exercise the flag on a regular directory (a network mount can't be set up from SDK tests) and require envd 0.6.4, so this should land with/after the infra deploy. All pre-existing watch tests pass; the new ones currently fail with the expected `TemplateError` against the deployed envd. ### Usage **JavaScript** ```ts const handle = await sandbox.files.watchDir( '/mnt/nfs-share/my-dir', (event) => console.log(event.type, event.name), { allowNetworkMounts: true } ) ``` **Python (async)** ```python handle = await sandbox.files.watch_dir( "/mnt/nfs-share/my-dir", on_event=lambda e: print(e.type, e.name), allow_network_mounts=True, ) ``` **Python (sync)** ```python handle = sandbox.files.watch_dir("/mnt/nfs-share/my-dir", allow_network_mounts=True) for e in handle.get_new_events(): print(e.type, e.name) ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
| Commit: | da85b1e | |
|---|---|---|
| Author: | Mish Ushakov | |
| Committer: | GitHub | |
feat(sdk): add includeEntry option to filesystem watch (#1385) Client-side counterpart to [e2b-dev/infra#2930](https://github.com/e2b-dev/infra/pull/2930): adds an `includeEntry`/`include_entry` option to filesystem directory watching across the JS and Python (sync + async) SDKs, so each `FilesystemEvent` can carry the affected entry's `EntryInfo` (best-effort — unset for remove/rename-away events where the path no longer exists). This regenerates the filesystem proto code from the updated spec, threads the flag through `watchDir`/`watch_dir` (streaming `WatchDir` and polling `CreateWatcher`), maps the new `entry` field onto the event, and extracts a shared entry-mapping helper reused by `list`/`getInfo`/`rename`. The option degrades gracefully: older sandboxes (< envd 0.6.2) ignore it and leave `entry` unset, so there's no hard version gate. Includes new watch tests for all three SDKs and a minor-bump changeset for `e2b` and `@e2b/python-sdk`. > Note: the entry-info tests require envd 0.6.2 (shipped by the infra PR), so this should land with/after that deploy. ### Usage **JavaScript** ```ts const handle = await sandbox.files.watchDir( 'my-dir', (event) => { console.log(event.type, event.name, event.entry?.path, event.entry?.type) }, { includeEntry: true } ) ``` **Python (async)** ```python def on_event(e): print(e.type, e.name, e.entry.path if e.entry else None) handle = await sandbox.files.watch_dir("my-dir", on_event=on_event, include_entry=True) ``` **Python (sync)** ```python handle = sandbox.files.watch_dir("my-dir", include_entry=True) for e in handle.get_new_events(): print(e.type, e.name, e.entry.path if e.entry else None) ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
| Commit: | 961ffba | |
|---|---|---|
| Author: | Mish Ushakov | |
| Committer: | GitHub | |
feat(sdks): expose user-defined file metadata on sandbox.files (#1383) Adds a `metadata` option to file uploads and surfaces persisted metadata on every `EntryInfo` / `WriteInfo` returned by `getInfo`, `list`, `rename`, and write responses, across the JS and Python (sync + async) SDKs. Metadata is sent as `X-Metadata-<key>: <value>` request headers and persisted by envd as `user.e2b.*` extended attributes; the same map is applied to every file in a multi-file upload. Keys and values must be printable US-ASCII and keys are lowercased by the sandbox, so they may differ in case when read back. Requires **envd 0.6.2 or later**. This syncs the envd OpenAPI spec and filesystem proto with [infra#2732](https://github.com/e2b-dev/infra/pull/2732) and regenerates the JS/Python clients. ## Usage **JavaScript / TypeScript** ```ts // Single file const info = await sandbox.files.write('report.txt', 'hello', { metadata: { author: 'mish', purpose: 'demo' }, }) console.log(info.metadata) // { author: 'mish', purpose: 'demo' } // Multiple files (same metadata applied to each) await sandbox.files.writeFiles( [ { path: 'a.txt', data: 'A' }, { path: 'b.txt', data: 'B' }, ], { metadata: { source: 'import' } } ) // Read it back const stat = await sandbox.files.getInfo('report.txt') console.log(stat.metadata) // { author: 'mish', purpose: 'demo' } ``` **Python** ```python # Single file info = sandbox.files.write("report.txt", "hello", metadata={"author": "mish"}) print(info.metadata) # {"author": "mish"} # Multiple files (same metadata applied to each) sandbox.files.write_files( [ WriteEntry(path="a.txt", data="A"), WriteEntry(path="b.txt", data="B"), ], metadata={"source": "import"}, ) # Read it back stat = sandbox.files.get_info("report.txt") print(stat.metadata) # {"author": "mish"} ``` The async Python API is identical with `await`. ## Tests Integration tests cover the round-trip across `write` / `getInfo` / `list` / `rename`, octet-stream uploads, multi-file uploads, overwrite-clears-stale-metadata, and metadata written directly as `user.e2b.*` xattrs via `sandbox.commands.run` surfacing in `getInfo`. They require a sandbox running envd 0.6.2+. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
| Commit: | 87ceec2 | |
|---|---|---|
| Author: | Matt Brockman | |
| Committer: | GitHub | |
feat: enable piping on the e2b cli (#1127) Adds stdin piping support to `e2b sandbox exec`, so users can do: ```bash echo "data" | e2b sandbox exec <id> -- cat cat file.bin | e2b sandbox exec <id> -- python3 -c 'import sys; print(len(sys.stdin.buffer.read()))' ``` Included: - JS SDK updates: - closeStdin() - supportsStdinClose - CLI updates: - detects piped stdin - streams stdin in 64 KiB chunks - closes remote stdin on EOF - graceful fallback for older sandbox versions (requires `envd` >= 0.5.2, warn + ignore piped input) ### Example Usage #### non-piped exec still works ``` e2b sandbox exec <sandbox_id> -- 'echo backend-non-pipe' ``` #### piped stdin path (supported envd) should deliver bytes ``` echo "hello" | e2b sandbox exec <sandbox_id> -- 'wc -c' # expect 6 printf '\x00\x01\x02\xff' | $e2b sandbox exec <sandbox_id> -- 'wc -c' # expect 4 ``` #### optional: legacy template behavior should warn + ignore piped stdin ``` echo "hello" | e2b sandbox exec <legacy_sandbox_id> -- 'wc -c' # expect 0 + "Ignoring piped stdin." ```
| Commit: | e142c23 | |
|---|---|---|
| Author: | Jakub Novák | |
| Committer: | GitHub | |
Set stdin to `/dev/null` by default (#919) Disable stdin (setting it to `/dev/null` for `command.run()`, but enable to setting it to pipe, which you can send the input via `command.sendStdin()` This fixes issues with tools checking for stdin and then hanging indefinitely <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Disables stdin by default and introduces a new `StartRequest.stdin` flag to opt-in to stdin piping, updating JS/Python SDKs, version gating, and tests. > > - **Spec/Protobuf**: > - Add `optional bool stdin` to `process.StartRequest` in `spec/envd/process/process.proto` and regenerate JS/Python protos. > - **JS SDK**: > - Add `ENVD_COMMANDS_STDIN = '0.3.0'` and version check; error if `stdin === false` on older envd. > - Extend `CommandStartOpts` with `stdin` (default `false`); pass `stdin` to `rpc.start`. > - **Python SDK**: > - Add `ENVD_COMMANDS_STDIN = Version("0.3.0")` and version check mirroring JS. > - Extend async/sync `commands.run()` with `stdin` (default `False`); pass to `StartRequest`. > - Update generated `process_pb2`/`.pyi` with `StartRequest.stdin`. > - **Tests**: > - Update send-stdin tests to run commands with `stdin: true`/`stdin=True`. > - **Changeset**: > - Minor bump for `@e2b/python-sdk` and `e2b`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 458a15187e6eadccd43540e6b8972c4d45e1bb78. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
The documentation is generated from this commit.
| Commit: | 92906fe | |
|---|---|---|
| Author: | Jakub Novak | |
| Committer: | Jakub Novak | |
Set stdin for commands to `/dev/null` by default
The documentation is generated from this commit.
| Commit: | 230a202 | |
|---|---|---|
| Author: | Jakub Novak | |
| Committer: | Jakub Novak | |
Set stdin for commands to `/dev/null` by default
The documentation is generated from this commit.
| Commit: | edeafb1 | |
|---|---|---|
| Author: | Mish Ushakov | |
| Committer: | GitHub | |
Adds files.getInfo / files.get_info methods to retrieve information about directory/files (#724) **Changelog** - Adds `files.getInfo`, `files.get_info` methods to the SDKs. - Adds tests for the new methods - Adds documentation for the above. **Examples** JavaScript ```js import { Sandbox } from '@e2b/code-interpreter' const sandbox = await Sandbox.create() // Create a new file await sandbox.files.write('test_file.txt', 'Hello, world!') // Get information about the file const info = await sandbox.files.getInfo('test_file.txt') console.log(info) // { // name: 'test_file.txt', // type: 'file', // path: '/home/user/test_file.txt' // } ``` Python ```py from e2b_code_interpreter import Sandbox sandbox = Sandbox() # Create a new file sandbox.files.write('test_file', 'Hello, world!') # Get information about the file info = sandbox.files.get_info('test_file') print(info) # EntryInfo(name='test_file.txt', type=<FileType.FILE: 'file'>, path='/home/user/test_file.txt') ``` --------- Co-authored-by: Jakub Novak <jakub@e2b.dev>
| Commit: | 42965b7 | |
|---|---|---|
| Author: | Jakub Novak | |
| Committer: | Jakub Novak | |
Update spec
| Commit: | db93426 | |
|---|---|---|
| Author: | Mish | |
| Committer: | Jakub Novak | |
updated proto
| Commit: | 6e4037e | |
|---|---|---|
| Author: | Mish | |
| Committer: | Jakub Novak | |
reverted EntryInfo on list()
| Commit: | 19c6bd9 | |
|---|---|---|
| Author: | Mish | |
| Committer: | Jakub Novak | |
update list and stat types
| Commit: | 8006ce0 | |
|---|---|---|
| Author: | Mish | |
updated proto
| Commit: | 8cb1c62 | |
|---|---|---|
| Author: | Mish | |
reverted EntryInfo on list()
| Commit: | 8f0e42a | |
|---|---|---|
| Author: | Mish | |
update list and stat types
| Commit: | 2def130 | |
|---|---|---|
| Author: | Jiri Sveceny | |
| Committer: | GitHub | |
Flag for securing envd access with auth token (#688) Waiting until secure flag will be available in production cluster. --------- Co-authored-by: Jakub Novák <jakub@e2b.dev>
| Commit: | 52929c4 | |
|---|---|---|
| Author: | Jiri Sveceny | |
| Committer: | Jiri Sveceny | |
updated api/envd clients
| Commit: | 3ad9c6e | |
|---|---|---|
| Author: | Jiri Sveceny | |
| Committer: | Jiri Sveceny | |
updated api/envd clients
| Commit: | 836e2fd | |
|---|---|---|
| Author: | Jiri Sveceny | |
| Committer: | Jiri Sveceny | |
updated api/envd clients
| Commit: | a5b08de | |
|---|---|---|
| Author: | 0div | |
| Committer: | GitHub | |
Add optional depth parameter to SDK file listing methods. (#649) # Description Do not merge before https://github.com/e2b-dev/infra/pull/524 is merged and deployed. The DX would look like this: ```js const files = await sandbox.files.list(dirName, { depth: 3 }) ``` - [x] update `envd` pb spec - [x] generate for `js-sdk` - [x] update `js-sdk` `file.list` method to include optional depth param - [x] update `js-sdk` tests - [x] generate for `python-sdk` - [x] update `python-sdk` `file.list` method to include optional depth param - [x] sync - [x] async - [x] update `python-sdk` tests - [x] sync - [x] async --------- Co-authored-by: Mish <10400064+mishushakov@users.noreply.github.com>
| Commit: | 5991a22 | |
|---|---|---|
| Author: | Jiri Sveceny | |
| Committer: | Jiri Sveceny | |
updated api/envd clients
| Commit: | 36a1643 | |
|---|---|---|
| Author: | 0div | |
| Committer: | GitHub | |
Add autopause option to sdk with latest main (#680) Add latest changes in main to the auto-pause feature branch - [x] python-sdk - [x] successful build? - [x] successful unit tests? - [x] js-sdk - [x] successful build? - [x] successful unit tests? --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Ben Fornefeld <ben.fornefeld@gmail.com> Co-authored-by: never not exploring <50748440+ben-fornefeld@users.noreply.github.com> Co-authored-by: Vasek Mlejnsky <vasek.mlejnsky@gmail.com> Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev> Co-authored-by: handlebauer <hi@donaldgeddes.ca> Co-authored-by: Tereza Tizkova <tereza@e2b.dev> Co-authored-by: tizkovatereza <135881365+tizkovatereza@users.noreply.github.com> Co-authored-by: Jakub Dobrý <jakub.dobry8@gmail.com> Co-authored-by: Jakub Novak <jakub@e2b.dev> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tomas Valenta <valenta.and.thomas@gmail.com> Co-authored-by: r33drichards <rwendt1337@gmail.com> Co-authored-by: James Murdza <james@jamesmurdza.com> Co-authored-by: yushengchen <yushengchen@nine-yi.com> Co-authored-by: Ziray Hao <ziray.hao@gmail.com> Co-authored-by: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Co-authored-by: Ziray Hao <45774151+ziruihao@users.noreply.github.com> Co-authored-by: Jiri Sveceny <jiri.sveceny@icloud.com> Co-authored-by: yusheng chen <55658154+samuel871211@users.noreply.github.com> Co-authored-by: David Batey <davidlbatey@gmail.com> Co-authored-by: Penny Templeton <92920463+p-templeton@users.noreply.github.com>
| Commit: | 9129458 | |
|---|---|---|
| Author: | Jiri Sveceny | |
| Committer: | Jiri Sveceny | |
updated api/envd clients
| Commit: | db5089c | |
|---|---|---|
| Author: | 0div | |
* update envd spec & generate for js-sdk * update js-sdk file.list method to include optional depth param * update js-sdk tests
| Commit: | 6e7e4b1 | |
|---|---|---|
| Author: | 0div | |
merge main into beta and fix conflicts and generate new specs
| Commit: | 25c4539 | |
|---|---|---|
| Author: | Jakub Dobrý | |
| Committer: | Jakub Novak | |
Add watch dir recursive option (missing python client regeneration)
| Commit: | 23ea4ad | |
|---|---|---|
| Author: | Jakub Novak | |
Rename rpc methods for watcher
| Commit: | bc42ba1 | |
|---|---|---|
| Author: | Jakub Novak | |
Refactor watch dir
| Commit: | c5aa13e | |
|---|---|---|
| Author: | Jakub Novak | |
Fix command for generating from rpc spec
| Commit: | 81db2b1 | |
|---|---|---|
| Author: | Jakub Novak | |
Add sync watch handler
| Commit: | 0976c10 | |
|---|---|---|
| Author: | Jakub Novak | |
Remove file info from remove method
| Commit: | 08fc1e4 | |
|---|---|---|
| Author: | Jakub Novak | |
Get paths for filesystem operations from envd
| Commit: | 6b32979 | |
|---|---|---|
| Author: | Tomas Valenta | |
Fix python request timeout error; Change auth
| Commit: | e1939ad | |
|---|---|---|
| Author: | Tomas Valenta | |
Move user to header
| Commit: | fda50a6 | |
|---|---|---|
| Author: | Tomas Valenta | |
Change default keepalive interval
| Commit: | d8251e7 | |
|---|---|---|
| Author: | Tomas Valenta | |
Client keepalive
| Commit: | 21766e6 | |
|---|---|---|
| Author: | Tomas Valenta | |
Add keepalive support; Tweak timeouts
| Commit: | 8f1839c | |
|---|---|---|
| Author: | Tomas Valenta | |
Regenerate envd rpc clients
| Commit: | abc17cb | |
|---|---|---|
| Author: | Tomas Valenta | |
Implement fs move in envd
| Commit: | af449d7 | |
|---|---|---|
| Author: | Tomas Valenta | |
Fix watch init error
| Commit: | b07ce2b | |
|---|---|---|
| Author: | Tomas Valenta | |
Fix mux; Add start event to watch to wait for init
| Commit: | 229c135 | |
|---|---|---|
| Author: | Tomas Valenta | |
Update scripts; Fix dir watch; Improve naming
| Commit: | 549c008 | |
|---|---|---|
| Author: | Tomas Valenta | |
Simplify watch dir
| Commit: | ef19d8f | |
|---|---|---|
| Author: | Tomas Valenta | |
Regenrate RPC; Fix namespacing
| Commit: | 593d236 | |
|---|---|---|
| Author: | Tomas Valenta | |
Simplify naming of envd services
| Commit: | 47dfb10 | |
|---|---|---|
| Author: | Tomas Valenta | |
Implement file handling; Fix dir permissions
| Commit: | c3833ad | |
|---|---|---|
| Author: | Tomas Valenta | |
Finish makedir
| Commit: | aa26ca3 | |
|---|---|---|
| Author: | Tomas Valenta | |
Fix output multireader
| Commit: | b04342c | |
|---|---|---|
| Author: | Tomas Valenta | |
Fix input stream; [WIP] Python SDK
| Commit: | fad330c | |
|---|---|---|
| Author: | Tomas Valenta | |
Return sensible process info
| Commit: | 16d3272 | |
|---|---|---|
| Author: | Tomas Valenta | |
Add process tag
| Commit: | 167fc2f | |
|---|---|---|
| Author: | Tomas Valenta | |
Simplify envd API
| Commit: | ecf318a | |
|---|---|---|
| Author: | Tomas Valenta | |
Update spec and JS
| Commit: | 9f63733 | |
|---|---|---|
| Author: | Tomas Valenta | |
Make cwd optional
| Commit: | 1a6d34e | |
|---|---|---|
| Author: | Tomas Valenta | |
Improve types
| Commit: | 6974414 | |
|---|---|---|
| Author: | Tomas Valenta | |
Export types in TS SDK; [WIP] Python SDK process handling
| Commit: | d943134 | |
|---|---|---|
| Author: | Tomas Valenta | |
Add missing pty output
| Commit: | 969b849 | |
|---|---|---|
| Author: | Tomas Valenta | |
Fix naming
| Commit: | 5bfcc9a | |
|---|---|---|
| Author: | Tomas Valenta | |
Imrpove connection config; [WIP] Rework Python SDK
| Commit: | ce84b20 | |
|---|---|---|
| Author: | Tomas Valenta | |
Simplify envd
| Commit: | 068ff56 | |
|---|---|---|
| Author: | Tomas Valenta | |
Regenerate APIs
| Commit: | 7f99c61 | |
|---|---|---|
| Author: | Tomas Valenta | |
Generate server; [WIP] Finish implementing services
| Commit: | 556cfdf | |
|---|---|---|
| Author: | Tomas Valenta | |
[WIP] Add process management
| Commit: | 8970f25 | |
|---|---|---|
| Author: | Tomas Valenta | |
Fix fs user handling
| Commit: | 3d10360 | |
|---|---|---|
| Author: | Tomas Valenta | |
Simplify service; Implement fs
| Commit: | 9d0de45 | |
|---|---|---|
| Author: | Tomas Valenta | |
Tweak types
| Commit: | 26dead6 | |
|---|---|---|
| Author: | Tomas Valenta | |
Remove non essential parameters and methods
| Commit: | 3b4c915 | |
|---|---|---|
| Author: | Tomas Valenta | |
Generate clients
| Commit: | 86e1996 | |
|---|---|---|
| Author: | Tomas Valenta | |
[WIP] Finalize protobufs
| Commit: | dc11dd8 | |
|---|---|---|
| Author: | Tomas Valenta | |
[WIP] Add comments
| Commit: | f57b6b4 | |
|---|---|---|
| Author: | Tomas Valenta | |
Properly nest definitions
| Commit: | fab21cb | |
|---|---|---|
| Author: | Tomas Valenta | |
Regenerate
| Commit: | 002a288 | |
|---|---|---|
| Author: | Tomas Valenta | |
[WIP] Generate python client
| Commit: | f9198d1 | |
|---|---|---|
| Author: | Tomas Valenta | |
Remove unnecessary methods
| Commit: | 4649216 | |
|---|---|---|
| Author: | Tomas Valenta | |
Generate server
| Commit: | 64b8548 | |
|---|---|---|
| Author: | Tomas Valenta | |
Fix grpc generation in envd
| Commit: | 1b8877f | |
|---|---|---|
| Author: | Tomas Valenta | |
Merge branch 'ttl' into grpc
| Commit: | ab4a5ab | |
|---|---|---|
| Author: | Tomas Valenta | |
Fix input stream
| Commit: | d1831b3 | |
|---|---|---|
| Author: | Tomas Valenta | |
Unify types
| Commit: | 571b8f0 | |
|---|---|---|
| Author: | Tomas Valenta | |
Check bidirectional streams
| Commit: | 6556280 | |
|---|---|---|
| Author: | Tomas Valenta | |
Improve spec
| Commit: | 785bafd | |
|---|---|---|
| Author: | Jakub Novak | |
Add tests
| Commit: | e137cd3 | |
|---|---|---|
| Author: | Jakub Novak | |
| Committer: | Jakub Novak | |
Fix sync error in orchestration API # Conflicts: # packages/orchestrator/internal/server/main.go # packages/shared/pkg/grpc/orchestrator/orchestrator.pb.go # packages/shared/pkg/grpc/orchestrator/orchestrator_grpc.pb.go
| Commit: | 1dccd7e | |
|---|---|---|
| Author: | Jakub Novak | |
| Committer: | Jakub Novak | |
Change to streaming
| Commit: | 5577a5e | |
|---|---|---|
| Author: | Jakub Novak | |
| Committer: | Jakub Novak | |
Rename proto files (naming must be unique)
| Commit: | 24cf294 | |
|---|---|---|
| Author: | Jakub Novak | |
| Committer: | Jakub Novak | |
Connect with API
| Commit: | 494fd09 | |
|---|---|---|
| Author: | Jakub Novak | |
| Committer: | Jakub Novak | |
Move the logic for building the template
| Commit: | c1bf36a | |
|---|---|---|
| Author: | Jakub Novak | |
| Committer: | Jakub Novak | |
Create base service
| Commit: | 4c766e3 | |
|---|---|---|
| Author: | Tomas Valenta | |
Experiment with protobuffers
| Commit: | 779b260 | |
|---|---|---|
| Author: | Tomas Valenta | |
Add spec comment
| Commit: | 9883cf2 | |
|---|---|---|
| Author: | Tomas Valenta | |
Draft proto and api files
| Commit: | 59e853f | |
|---|---|---|
| Author: | Jakub Novak | |
| Committer: | Jakub Novak | |
Add docstring for grpc
| Commit: | 4a70514 | |
|---|---|---|
| Author: | Jakub Novak | |
| Committer: | Jakub Novak | |
Simplify tracing, connect traces automatically