@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 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