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
Simplifies the SimDeck service lifecycle, moves the package layout forward, hardens long-running stream/AX behavior, refreshes docs, and adds a CI WebRTC software stream benchmark.
Copy file name to clipboardExpand all lines: AGENTS.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,27 +111,31 @@ hydrates root and `packages/client` `node_modules` plus
111
111
falling back to `npm ci` for missing package installs and ensuring Homebrew
112
112
`pkgconf`/`x264` are available for native builds. Its Run action executes
113
113
`npm run codex:run`, which builds the CLI and client, saves fresh caches, and
114
-
restarts the workspace-local daemon.
114
+
restarts the local service.
115
115
116
-
Run the local daemon:
116
+
Run the local service:
117
117
118
118
```sh
119
119
./build/simdeck
120
-
./build/simdeck daemon start --port 4311
120
+
./build/simdeck -p 4311
121
121
```
122
122
123
-
Running without a subcommand starts a foreground workspace daemon, prints local and LAN HTTP URLs, prints a six-digit pairing code for LAN browsers, and stops when the command exits, when you press `q`, or when you press Ctrl-C. If the always-on service is active on 4310, running without a subcommand or running `simdeck ui` prints the existing service endpoints instead of starting a project daemon. Pass a simulator name or UDID as the only argument to select it by default in the UI. Use `./build/simdeck -d`, `./build/simdeck -k`, and `./build/simdeck -r` as detached start, kill, and restart shortcuts.
123
+
Running without a subcommand starts or reuses the background service, prints
124
+
local and LAN HTTP URLs, and prints a six-digit pairing code for LAN browsers.
125
+
Pass a simulator name or UDID as the only argument to select it by default in
126
+
the UI. Use `./build/simdeck -a` or `./build/simdeck pair` when the service
127
+
should be registered as a LaunchAgent.
124
128
125
129
Use software H.264 when macOS screen recording starves the hardware encoder:
|`serverId`| Stable identity for the current service token |
43
+
|`advertiseHost`| Host/IP the service advertises for non-local clients |
44
+
|`hostId`| Stable hashed identity for the Mac hardware host |
45
+
|`hostName`| Local host name for grouping LAN/Tailscale/Bonjour URLs |
46
+
|`httpPort`| Port serving UI and API |
47
+
|`serverKind`|`launchAgent`or `standalone`|
48
+
|`videoCodec`| Requested codec mode: `auto`, `hardware`, or `software`|
49
+
|`streamQuality`| Active stream profile and limits |
50
+
|`webRtc`| ICE settings the browser should use |
51
51
52
52
When auth is required, the `401` JSON body still includes `serverId`, `advertiseHost`, `hostId`, `hostName`, `httpPort`, and `serverKind` so native clients can group endpoints before pairing.
53
53
@@ -64,6 +64,10 @@ Useful fields:
64
64
|`latest_first_frame_ms`| First-frame startup time |
65
65
|`frames_dropped_server`| Server dropping stale frames to stay current |
66
66
|`keyframe_requests`| Stream refresh or recovery activity |
67
+
|`stream_pipeline_resets`| Encoder resets after all viewers disconnect |
68
+
|`latest_accessibility_snapshot_ms`| Most recent native accessibility duration |
0 commit comments