You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: make CLI globally installable via npm as @resciencelab/shader-cli
- Rename package to @resciencelab/shader-cli with 'shader-cli' binary
- Use remote runtime (shader-lab.rescience.dev) instead of local dev server
- Move Playwright to optionalDependencies with lazy import
- Add 'shader-cli setup' command for Playwright installation
- Switch build from bun to tsc for Node.js compatibility
- Add shebang, LICENSE, postbuild script
- Update README with npm install instructions
cd shader-cli/cli && npm install && npm run build && npm link
54
63
```
55
64
65
+
**Runtime:** Export commands use [shader-lab.rescience.dev](https://shader-lab.rescience.dev/tools/shader-lab) by default. Override with `--runtime http://localhost:3000` for local development.
- Chrome/Chromium with WebGPU support (for export — installed automatically via `shader-cli setup`)
194
+
195
+
## Runtime
196
+
197
+
Export commands render via a hosted Shader Lab instance at [shader-lab.rescience.dev](https://shader-lab.rescience.dev/tools/shader-lab). No local server needed.
198
+
199
+
To use a local instance instead:
200
+
```bash
201
+
shader-cli --runtime http://localhost:3000/tools/shader-lab --project scene.lab export video -o out.webm
0 commit comments