Commit 74edd9e
committed
refactor(self_hosted_sandboxes): use published SDK releases; fix worker API usage
Installs:
- ant CLI from GitHub releases (v1.9.0 tarball) instead of pinned
prerelease build URLs; drop the unzip step in the Dockerfiles.
- Python / TypeScript SDKs from PyPI / npm (anthropic, @anthropic-ai/sdk
^0.97.0) instead of prerelease build URLs.
- Drop the committed package-lock.json files (regenerated on install)
and gitignore them.
Layout:
- Rename the per-platform demo dirs, dropping the redundant
self_hosted_sandbox- prefix: cf, cf-worker, daytona, docker, modal,
vercel; update all cross-references.
API correctness (validated against the current SDK):
- daytona webhook: use AsyncAnthropic with
client.beta.environments.work.poller (the sync client has no poller).
- Catch WebhookVerificationError from standardwebhooks
(anthropic.WebhookVerificationError does not exist).
- client.beta.sessions, not client.sessions;
beta_agent_toolset_20260401, not default_tools; drop stale
tool_dispatcher / toolDispatcher references.
- Fix the toolRunner / BetaToolRunContext.toolUseBlock notes in the docs.1 parent 3c26fa8 commit 74edd9e
43 files changed
Lines changed: 126 additions & 8339 deletions
File tree
- managed_agents/self_hosted_sandboxes
- cf-worker
- src
- cf
- container
- src
- daytona
- docker
- docs
- modal
- self_hosted_sandbox-cf-worker
- self_hosted_sandbox-cf
- container
- self_hosted_sandbox-vercel
- vercel
- api
- runner
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments