modal 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,29 +27,29 @@ Node 22 or later. We bundle both ES Modules and CommonJS formats, so you can loa
27
27
 
28
28
  ## Documentation
29
29
 
30
- See the main [Modal documentation](https://modal.com/docs/guide) and [user guides](https://modal.com/docs/guide) for high-level overviews. For details, see the [API reference documentation for for JS](https://modal-labs.github.io/libmodal/).
30
+ See the main [Modal documentation](https://modal.com/docs) and [user guides](https://modal.com/docs/guide) for high-level overviews. For details, see the [API reference documentation for for JS](https://modal-labs.github.io/libmodal/).
31
31
 
32
32
  We also provide a number of examples:
33
33
 
34
- - [Call a deployed Function](./examples/function-call.ts)
35
- - [Spawn a deployed Function](./examples/function-spawn.ts)
36
- - [Call a deployed Cls](./examples/cls-call.ts)
37
- - [Call a deployed Cls, and override its options](./examples/cls-call-with-options.ts)
38
- - [Create a Sandbox](./examples/sandbox.ts)
39
- - [Create a named Sandbox](./examples/sandbox-named.ts)
40
- - [Create a Sandbox with GPU](./examples/sandbox-gpu.ts)
41
- - [Create a Sandbox using a private image from AWS ECR](./examples/sandbox-private-image.ts)
42
- - [Take a snapshot of the filesystem of a Sandbox](./examples/sandbox-filesystem-snapshot.ts)
43
- - [Execute Sandbox commands](./examples/sandbox-exec.ts)
44
- - [Running a coding agent in a Sandbox](./examples/sandbox-agent.ts)
45
- - [Check the status and exit code of a Sandbox](./examples/sandbox-poll.ts)
46
- - [Access Sandbox filesystem](./examples/sandbox-filesystem.ts)
47
- - [Expose ports on a Sandbox using Tunnels](./examples/sandbox-tunnels.ts)
48
- - [Include Secrets in Sandbox](./examples/sandbox-secrets.ts)
49
- - [Mount a Volume to a Sandbox](./examples/sandbox-volume.ts), and same but [with an ephemeral Volume](./examples/sandbox-volume-ephemeral.ts)
50
- - [Mount a cloud bucket to a Sandbox](./examples/sandbox-cloud-bucket.ts)
51
- - [Eagerly build an Image for a Sandbox](./examples/sandbox-prewarm.ts)
52
- - [Building custom Images](./examples/image-building.ts)
34
+ - [Call a deployed Function](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/function-call.ts)
35
+ - [Spawn a deployed Function](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/function-spawn.ts)
36
+ - [Call a deployed Cls](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/cls-call.ts)
37
+ - [Call a deployed Cls, and override its options](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/cls-call-with-options.ts)
38
+ - [Create a Sandbox](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox.ts)
39
+ - [Create a named Sandbox](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-named.ts)
40
+ - [Create a Sandbox with GPU](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-gpu.ts)
41
+ - [Create a Sandbox using a private image from AWS ECR](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-private-image.ts)
42
+ - [Take a snapshot of the filesystem of a Sandbox](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-filesystem-snapshot.ts)
43
+ - [Execute Sandbox commands](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-exec.ts)
44
+ - [Running a coding agent in a Sandbox](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-agent.ts)
45
+ - [Check the status and exit code of a Sandbox](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-poll.ts)
46
+ - [Access Sandbox filesystem](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-filesystem.ts)
47
+ - [Expose ports on a Sandbox using Tunnels](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-tunnels.ts)
48
+ - [Include Secrets in Sandbox](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-secrets.ts)
49
+ - [Mount a Volume to a Sandbox](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-volume.ts), and same but [with an ephemeral Volume](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-volume-ephemeral.ts)
50
+ - [Mount a cloud bucket to a Sandbox](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-cloud-bucket.ts)
51
+ - [Eagerly build an Image for a Sandbox](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/sandbox-prewarm.ts)
52
+ - [Building custom Images](https://github.com/modal-labs/libmodal/blob/main/modal-js/examples/image-building.ts)
53
53
 
54
54
  ### Authenticating with Modal
55
55