@solidrt/cli 0.0.52 → 0.0.53
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 +1 -1
- package/agents/debugging.md +5 -1
- package/dist/console.srtapp +4590 -24792
- package/dist/demos/3d/assets/icon.svg +23 -0
- package/dist/demos/3d/package.json +9 -0
- package/dist/demos/3d/the-third-dimension/the-third-dimension.srt.js +7528 -0
- package/dist/demos/components/assets/icon.png +0 -0
- package/dist/demos/components/assets/icon.svg +23 -0
- package/dist/demos/components/gallery/gallery.srt.js +14087 -0
- package/dist/demos/components/package.json +9 -0
- package/dist/server.js +1 -1
- package/package.json +7 -7
- package/src/bundle/bundler.ts +4 -4
- package/src/bundle/untyped-deps.d.ts +3 -3
- package/src/demo/docs.md +21 -15
- package/src/demo/main.ts +20 -18
- package/src/init/scaffold/AGENTS.md +3 -1
- package/src/init/scaffold/package.json +6 -6
- package/src/lib/usage.ts +1 -1
- package/src/server/main.ts +8 -5
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ android` (and `server`, `client`, `pack` for the rest).
|
|
|
20
20
|
| [`srt server [file]`](src/server/docs.md) | dev server only |
|
|
21
21
|
| [`srt client`](src/client/docs.md) | client only, attached to the project's dev server |
|
|
22
22
|
| [`srt android`](src/android/docs.md) | install and launch the client on a connected Android device |
|
|
23
|
-
| [`srt demo [n]`](src/demo/docs.md) | list the demos the
|
|
23
|
+
| [`srt demo [n]`](src/demo/docs.md) | list the demos the CLI ships, or run one |
|
|
24
24
|
| [`srt console`](src/console/docs.md) | start the dev console: the dev servers on this machine and their clients |
|
|
25
25
|
| [`srt check [file]`](src/check/docs.md) | build and typecheck, writing nothing |
|
|
26
26
|
| [`srt bundle [file]`](src/bundle/docs.md) | transpile to JS or bytecode (dist/bundle/) |
|
package/agents/debugging.md
CHANGED
|
@@ -165,7 +165,11 @@ when exactly one client is connected.
|
|
|
165
165
|
`/stats?active=true|false` switches the on-screen stats overlay instead
|
|
166
166
|
(the `set_stats_overlay` tool): one client with `&client=<id>`, every
|
|
167
167
|
client (and the setting new clients join with) without; `/clients`
|
|
168
|
-
reports each client's `stats`.
|
|
168
|
+
reports each client's `stats`. `frames` counts the frames actually
|
|
169
|
+
rebuilt in the window, `fps` the refresh rate presented at: when motion
|
|
170
|
+
looks wrong and `fps` looks fine, `frames` is the number to read - a
|
|
171
|
+
picture that only changes 26 times a second shows 26 there, and the
|
|
172
|
+
stutter is the app's update cadence, not the engine's.
|
|
169
173
|
- `/debug` - the app's registered debug commands; POST
|
|
170
174
|
`/debug?name=<cmd>` with a JSON body as its args to call one.
|
|
171
175
|
- POST `/input` with `{ "events": [...] }` - synthetic input through the
|