@theagenticguy/microvms 0.1.0-rc.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 +35 -0
- package/index.d.ts +1075 -0
- package/index.js +729 -0
- package/package.json +61 -0
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# @theagenticguy/microvms
|
|
2
|
+
|
|
3
|
+
Node bindings over `microvms-core`, the client library for AWS Lambda MicroVMs.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install @theagenticguy/microvms
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
A prebuilt native addon per platform, selected through `optionalDependencies`. No compiler
|
|
10
|
+
and no install-time download script runs on a consumer's machine.
|
|
11
|
+
|
|
12
|
+
Requires Node >= 22.13.
|
|
13
|
+
|
|
14
|
+
## Async-native
|
|
15
|
+
|
|
16
|
+
The core's async surface maps straight through: an exported `async` function runs on napi's
|
|
17
|
+
managed runtime and returns a real `Promise`, with an error rejecting it. Exec output and
|
|
18
|
+
stdin are handed across as `ReadableStream<Uint8Array>` rather than as async iterators a
|
|
19
|
+
consumer would have to adapt.
|
|
20
|
+
|
|
21
|
+
## The traps are in the types
|
|
22
|
+
|
|
23
|
+
The constraints the platform enforces at runtime are shapes this package refuses to
|
|
24
|
+
construct: a raw token cannot be passed where a session is expected, and a dollar amount is
|
|
25
|
+
never a bare float. Each planted bypass has a test that goes red if the door reopens.
|
|
26
|
+
|
|
27
|
+
## Reading
|
|
28
|
+
|
|
29
|
+
- [Documentation](https://theagenticguy.github.io/microvms-agentd/)
|
|
30
|
+
- [`docs/EMBEDDING.md`](https://github.com/theagenticguy/microvms-agentd/blob/main/docs/EMBEDDING.md)
|
|
31
|
+
- [`docs/TRUST.md`](https://github.com/theagenticguy/microvms-agentd/blob/main/docs/TRUST.md)
|
|
32
|
+
|
|
33
|
+
## License
|
|
34
|
+
|
|
35
|
+
Apache-2.0
|