Commit Graph

4413 Commits

Author SHA1 Message Date
github-actions[bot] dde83b7986 [skip ci] Release new versions 2025-01-28 19:58:38 +00:00
Jakub Novák fe7ed15c61 Process time out returns incorrect exception in pythonsdk e2b 1476 (#550)
Handle the exception properly
@e2b/python-sdk@1.0.6 e2b@1.0.6
2025-01-28 11:45:39 -08:00
Jakub Novák 4fb44708a6 Add recursive directory watch (#488)
Adds recursive directory watch to the SDK and documentation section.
Requires merging and deploying https://github.com/e2b-dev/infra/pull/210
first.

### Proposed API change:
**JS**
```js
await sandbox.files.watchDir(dirname, handler, {
  recursive: true
})
```

**Python**
```py
sandbox.files.watch_dir(dirname, recursive=True)
```


---

### Notes

Python SDK was generated using buf.build/protocolbuffers/python:v28.3.
The runtime check was removed for now. Further tests might be required
to make sure the runtime is at least the generated version before
including the runtime check.
Changing the following in the file spec/envd/buf-python.gen.yaml
(generator) allows using different protoc-gen-python version:
From: `plugin: python`
To: `plugin: buf.build/protocolbuffers/python:v28.3`
2025-01-28 11:44:59 -08:00
Jakub Novak 13f0c785de Add changeset 2025-01-28 11:41:58 -08:00
Jakub Novak 8c52e73cdd Lint 2025-01-28 11:28:49 -08:00
Jakub Novak 359d17d0c4 Fix versions to match updated envd version 2025-01-28 11:28:35 -08:00
Jakub Dobrý 51e8f186e6 Cleanup tests only in debug 2025-01-28 11:28:19 -08:00
Jakub Dobrý ec9288a48b Add recursive watch envd version check python SDK, js SDK check 2025-01-28 11:28:18 -08:00
Jakub Dobrý 29dc1a98dd Add recursive watch envd version check 2025-01-28 11:27:10 -08:00
Jakub Dobrý f893f285dd Add note to the recursive watch with rapid folder creation 2025-01-28 11:26:32 -08:00
Jakub Dobrý ea8f4ffb33 Run js tests cleanup using onTestFinished 2025-01-28 11:26:32 -08:00
Jakub Dobrý 6596eda139 Test for recursive folder creation, add newline after code to docs 2025-01-28 11:26:32 -08:00
Jakub Dobrý 76b4ac02ad Regenerated python stubs with version 5.28.3
- Removed code runtime version check to prevent issues until further investigation
2025-01-28 11:26:32 -08:00
Jakub Dobrý c8914c2114 Improve recursive watch tests and folders naming 2025-01-28 11:26:32 -08:00
Jakub Dobrý 225c156ad5 Update documentation highlights 2025-01-28 11:26:31 -08:00
Jakub Dobrý ca85407b8e Add recursive directory watching to the web documentation 2025-01-28 11:26:31 -08:00
Jakub Dobrý d35880c74e Improve watchDir jsSDK default value 2025-01-28 11:26:31 -08:00
Jakub Dobrý 4adcfd83e9 Add python generated stubs 2025-01-28 11:26:30 -08:00
Jakub Dobrý d92a166d8f Update watch test file formatting 2025-01-28 11:25:43 -08:00
Jakub Dobrý 25c4539de6 Add watch dir recursive option (missing python client regeneration) 2025-01-28 11:25:42 -08:00
0div 1e1d3988be Show metrics in sidebar (#558)
show metrics route in the docs sidebar now that the metrics feature is
released
2025-01-27 13:30:12 -08:00
0div 90fb02caf0 uncomment metrics route 2025-01-27 13:09:33 -08:00
tizkovatereza aea3d3e26f Add groq to docs (#557)
Added code snippets to documentation for using Groq with E2B.
2025-01-27 12:38:13 -08:00
Tereza Tizkova 052473935a Add groq to docs 2025-01-27 12:23:34 -08:00
Vasek Mlejnsky 90788ee0b1 Hide metrics in sidebar (#555)
Hide metrics route in the docs sidebar until the feature is fully
released
2025-01-26 19:25:13 -08:00
Vasek Mlejnsky 5b3ef97a64 hide metrics in sidebar until it's shipped 2025-01-26 19:23:20 -08:00
Vasek Mlejnsky 43291b5889 Fix typo in docs (#554)
run to => to run

🙂
2025-01-26 13:15:16 -08:00
handlebauer 02b032af0b fix thing 2025-01-25 14:16:03 -08:00
0div d3f0e37fb2 Add sandbox metrics docs page (#552)
This documents the new SDK method implemented
[here](https://github.com/e2b-dev/E2B/pull/543)
2025-01-24 16:54:50 -08:00
0div 35c18374d3 use latest beta tag for npm installs 2025-01-24 16:46:48 -08:00
0div 61c7bfa767 fix beta version typo and add private beta note 2025-01-24 16:39:37 -08:00
0div 974d92e7aa update limitations section 2025-01-24 16:24:25 -08:00
Vasek Mlejnsky 8b5af4e174 Update wording for usage limits and alerts (#553)
Clarify wording for usage limits & alerts
2025-01-24 16:22:37 -08:00
Vasek Mlejnsky 525d05329b Change button's text 2025-01-24 16:17:22 -08:00
Vasek Mlejnsky 3fcfd2beb5 Update wording for usage limits and alerts 2025-01-24 16:05:31 -08:00
never not exploring fb0dcb73dc Implement budget alerts & limit (#551)
Adds the ability for teams to set up a budget limit and a budget alert.

The following two sections were added under the dashboards `Usage` tab:
1. Section for setting a `Billing Limit` in `$ (USD)` which blocks the
team when reached & sends notifications along the way to the teams
primary email address
2. Section for settings a `Billing Alert` in `$ (USD)` which sends a
notification to the teams primary email address when reached
2025-01-24 15:10:52 -08:00
Ben Fornefeld 04f223fcdc improve team blocked banner 2025-01-24 15:07:19 -08:00
Ben Fornefeld 830af8584e add team blocked banner on page layout 2025-01-24 14:18:40 -08:00
Ben Fornefeld 13375738b9 update teams retrieval for is_blocked & blocked_reason 2025-01-24 14:18:27 -08:00
0div 295f4e2443 fix code snippet and remove note 2025-01-24 13:55:00 -08:00
0div 44506801e8 update docs based on feedback 2025-01-24 13:45:27 -08:00
0div c4a54fccc7 add metrics to routes 2025-01-24 11:59:18 -08:00
0div 062c6cab42 add metrics docs page 2025-01-24 11:52:19 -08:00
Ben Fornefeld 379cc26d5b update fetch headers for billing alerts 2025-01-24 11:37:50 -08:00
Ben Fornefeld 1e454554b9 prevent form submission with empty values 2025-01-24 11:37:50 -08:00
Vasek Mlejnsky eada5d4479 Fix build error 2025-01-24 11:37:50 -08:00
Vasek Mlejnsky a742e8e9ee Update text for usage limits 2025-01-24 11:37:50 -08:00
Ben Fornefeld e644a98a14 add billing api logic + improve billing alerts components 2025-01-24 11:37:50 -08:00
Ben Fornefeld 673272efcf fix account selector billing url retrieval 2025-01-24 11:37:50 -08:00
Ben Fornefeld 93a6b9b868 add: billing limits states + api layer 2025-01-24 11:37:50 -08:00