Commit Graph

4846 Commits

Author SHA1 Message Date
Tomas Valenta d2e9b3ba8a Update CLI docs 2024-10-12 13:44:23 -07:00
github-actions[bot] 7c4d44e206 [skip ci] Release new SDK API reference doc versions 2024-10-12 20:40:58 +00:00
Tomas Valenta 125cda6cc7 Add flag for killing all running sandboxes to the CLI 2024-10-12 13:39:42 -07:00
github-actions[bot] f2de8cb89f [skip ci] Release new SDK API reference doc versions 2024-10-12 19:57:33 +00:00
Vasek Mlejnsky a8b1ee9181 Add typedoc to dev dependencies of the JS SDK 2024-10-12 12:56:19 -07:00
Vasek Mlejnsky f049bb1fef Update gitignore 2024-10-12 12:22:44 -07:00
Vasek Mlejnsky 047039cf47 Resolve merge conflicts 2024-10-12 11:42:19 -07:00
Vasek Mlejnsky b7cafcd380 pnpm-lock 2024-10-12 11:31:07 -07:00
Vasek Mlejnsky 9e0721cc85 Prepare new docs navigation [WIP] 2024-10-12 11:30:51 -07:00
Tomas Valenta e5448c9abc Add dir with testing artifacts to gitignore 2024-10-11 15:32:39 -07:00
0div aba4cbd498 Generate API references workflow (#449)
# Description
- For now, any diff in `packages/` makes the workflow run each package's
`./scripts/generate_api_ref.sh`
- Each of these scripts now also copies and creates the proper file
structure, including versions, in
`apps/web/src/app/(docs)/docs/api-reference/`
- Boyscouting & Testing: Include Pty api ref to python sdk workflow &
test if it triggers the workflow
- Once the workflow generates the files, it auto-commits before the
deploy
- Created and integrated a prebuild step for the nextjs app it:
  - generates routes for `routes.tsx`
  - and generates TOC markowns for api-ref navigation component

# Test
- [x] Going to test it via this PR  
- [x] Deploy [e2b-web](https://e2b-ijic9mwke-e2b.vercel.app/docs)

# Considerations
Could make this on a per package basis.
2024-10-11 20:21:36 +02:00
0div 3c00f2457c better logging and caching in prebuild 2024-10-11 20:17:32 +02:00
0div 24732cb3a1 generate api ref only on push to main and beta branches 2024-10-11 20:02:48 +02:00
0div 5b2df4310a better navigation and TOC generation in prebuild step 2024-10-11 18:03:48 +02:00
Jakub Novak 81db2b1466 Add sync watch handler 2024-10-11 11:54:00 +02:00
0div 86262f1bc6 docstring for dataclass 2024-10-10 13:52:53 +02:00
0div c277f9f8a6 better error messages in js-sdk 2024-10-10 12:23:02 +02:00
0div 2956a6e7b9 better error messages in python-sdk 2024-10-10 12:04:42 +02:00
0div 834f84c8bb merge beta 2024-10-10 09:29:37 +02:00
github-actions[bot] beb4a0fb8c [skip ci] Release new SDK API reference doc versions 2024-10-10 07:23:54 +00:00
0div 87e314ada5 Merge branch 'beta' of https://github.com/e2b-dev/E2B into generate-api-refs-workflow 2024-10-10 09:22:23 +02:00
Jakub Novak 5d027aa899 Improve the process exception message 2024-10-09 17:12:43 +02:00
Jakub Novak 7356efc2bb Fix write operation description 2024-10-09 16:35:30 +02:00
Jakub Novak fbc14b342f Add browser test 2024-10-09 16:26:15 +02:00
0div f5cd1c0767 add multifile upload to sanbox_async 2024-10-09 14:07:14 +02:00
0div 7767d8f2ee updated js-sdk tests to check empty path behavior 2024-10-09 13:37:05 +02:00
0div 365af432f1 add extra tests to sandbox_sync write 2024-10-09 12:29:59 +02:00
0div 68e5efac41 address PR comments 2024-10-09 11:19:53 +02:00
github-actions[bot] c94d576057 [skip ci] Release new SDK API reference doc versions 2024-10-08 17:42:27 +00:00
0div 6a2203daf3 merge beta 2024-10-08 19:39:21 +02:00
0div 2afb6d1ef4 allow passing empty array of files in js-sdk 2024-10-08 18:24:20 +02:00
0div fbc4af4908 allow passing empty array of files in python-sdk 2024-10-08 18:23:46 +02:00
0div f010211787 adapt multi file write tests for nested dirs 2024-10-08 17:15:13 +02:00
0div 68ac0383df merge beta 2024-10-08 16:00:56 +02:00
Jakub Novak f2bec0544f Fix empty file + add tests 2024-10-08 15:28:24 +02:00
Jakub Novak 506f70c7b8 Add docstrings to SDKs 2024-10-08 13:04:39 +02:00
0div 608ef45fa5 Use @overload 2024-10-08 12:32:33 +02:00
Tomas Valenta 3d9208cbd3 Fixate memory size of base template 2024-10-07 16:31:11 -07:00
0div a379a587f0 Add multi-file write support for python-sdk sync 2024-10-07 21:10:28 +02:00
0div a2d4ad72b6 boyscouting: fix some docstrings 2024-10-07 16:47:00 +02:00
0div eda88d0c34 address PR comments 2024-10-07 16:36:37 +02:00
Vasek Mlejnsky fd9a7f1552 Update reconnect_2.py 2024-10-05 14:09:39 -07:00
James Murdza b07dd29f92 Fix Getting Started Examples (#452)
The current Getting Started examples are broken because 1) they don't
specify the Anthropic SDK version and 2) they use exports from a
deprecated beta version.

The example code has now been migrated in the cookbook
(https://github.com/e2b-dev/e2b-cookbook/commit/d28460156cf07e23c114581dc6dfafb71493418d)
so I'm copying it into the documentation here to fix the examples.

The Anthropic SDK version has also been notes to avoid our examples
suddenly breaking in the future.
2024-10-05 13:19:39 -07:00
James Murdza 85c1b87af8 Pin Anthropic SDK version in examples 2024-10-05 13:14:26 -07:00
James Murdza 7087d21310 Fix hello_world.py example for latest Anthropic SDK 2024-10-05 12:57:45 -07:00
James Murdza 17a0009919 Fix helloWorld.ts example for latest Anthropic SDK 2024-10-05 12:53:24 -07:00
Tomas Valenta 966f0c73af [WIP] Cleanup 2024-10-04 17:41:04 -07:00
0div 9e6bc1739c address PR comments 2024-10-04 23:13:12 +02:00
0div b2e80e1d53 Added multi-file write support 2024-10-04 19:58:43 +02:00
Vasek Mlejnsky fea9f65aa1 Update migration docs 2024-09-30 15:01:56 -07:00