@raytrace-cli/cli 0.10.0 → 0.11.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 +19 -2
- package/dist/dashboard/assets/index-DepcI8Fi.js +38 -0
- package/dist/dashboard/index.html +1 -1
- package/package.json +1 -1
- package/proxy/capture-health.mjs +30 -0
- package/proxy/capture-health.test.mjs +44 -0
- package/proxy/evidence-schema.test.mjs +10 -3
- package/proxy/evidence-store.mjs +44 -7
- package/proxy/evidence-store.test.mjs +1 -4
- package/proxy/gvisor-forwarder.mjs +84 -45
- package/proxy/gvisor-forwarder.test.mjs +70 -5
- package/proxy/init-evidence-db.mjs +3 -2
- package/proxy/raytace-proxy.mjs +14 -5
- package/proxy/schema/capture_health.sql +14 -0
- package/proxy/trace-view.mjs +25 -9
- package/proxy/trace-view.test.mjs +20 -0
- package/src/commands.mjs +4 -4
- package/src/mcp.mjs +3 -3
- package/src/paths.mjs +8 -1
- package/src/proxy-process.mjs +1 -1
- package/worker/sandbox/collector.py +55 -7
- package/worker/sandbox/projects.py +8 -0
- package/worker/sandbox/viewer.py +59 -15
- package/dist/dashboard/assets/index-TqrxOY-Y.js +0 -38
package/README.md
CHANGED
|
@@ -30,7 +30,10 @@ and network connections. You explore it all in a dashboard.
|
|
|
30
30
|
| **[Local sandbox](#local-sandboxes)** | a Linux VM on your machine | none | keeping your code on your machine; free and open source |
|
|
31
31
|
| **[Cloud sandbox](#cloud-sandboxes)** | RayTrace's servers | yes | sharing sessions with your team at [app.raytracer.si](https://app.raytracer.si) |
|
|
32
32
|
|
|
33
|
-
All three need **Node.js 22.13 or newer** (`node --version`) on macOS or Linux
|
|
33
|
+
All three need **Node.js 22.13 or newer** (`node --version`) on macOS or Linux,
|
|
34
|
+
or none at all from pip: `pip install raytrace-cli` (or `uv tool install raytrace-cli`)
|
|
35
|
+
installs the same CLI with its own Node.js. Where this page says
|
|
36
|
+
`npx -y @raytrace-cli/cli@latest`, use `uvx --from raytrace-cli raytrace` instead.
|
|
34
37
|
Windows is experimental.
|
|
35
38
|
|
|
36
39
|
---
|
|
@@ -547,7 +550,7 @@ until then.
|
|
|
547
550
|
raytrace sandbox destroy <id or name> # any sandboxes you no longer need
|
|
548
551
|
raytrace uninstall --purge # local sandboxes: deletes the VM and ~/.raytrace
|
|
549
552
|
raytrace auth logout
|
|
550
|
-
npm uninstall -g @raytrace-cli/cli
|
|
553
|
+
npm uninstall -g @raytrace-cli/cli # or: pip uninstall raytrace-cli
|
|
551
554
|
claude mcp remove raytrace -s user # if you added the MCP server to Claude Code
|
|
552
555
|
```
|
|
553
556
|
|
|
@@ -577,6 +580,20 @@ mkdir -p /tmp/rt && echo RAYTACE_PORT=18797 > /tmp/rt/config.env
|
|
|
577
580
|
RAYTRACE_HOME=/tmp/rt node bin/raytrace.mjs setup --no-claude-code
|
|
578
581
|
```
|
|
579
582
|
|
|
583
|
+
### Publishing to pip
|
|
584
|
+
|
|
585
|
+
The pip package is the npm package plus an official Node.js build, one wheel per
|
|
586
|
+
platform. After `npm publish`, build the same version's wheels and upload them:
|
|
587
|
+
|
|
588
|
+
```sh
|
|
589
|
+
python3 python/build_wheels.py # all six platforms, into python/dist/
|
|
590
|
+
twine upload python/dist/*.whl
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
The *pip wheels* workflow builds the same wheels on every `v*` tag and installs
|
|
594
|
+
them on Linux, macOS and Windows (x64 and ARM); its `wheels` artifact can be
|
|
595
|
+
uploaded instead. The Node.js version is `NODE_VERSION` in `python/build_wheels.py`.
|
|
596
|
+
|
|
580
597
|
## License
|
|
581
598
|
|
|
582
599
|
MIT
|