···1414 in
1515 {
1616 # Launch omp as a co-vibing session from any machine: `covibe session
1717- # --dashboard` registers the session over the dashboard's REST API (with
1818- # heartbeat + pane push), so it shows up in the covibe.lassul.us overview
1919- # just like a session started locally on neoprism, and is joinable /
2020- # browser-viewable via the collab relay.
1717+ # --dashboard` announces the session over the dashboard's keyless REST API
1818+ # (name + collab links, heartbeat + pane push), so it shows up in the
1919+ # covibe.lassul.us overview just like a session started locally on
2020+ # neoprism, and is joinable / browser-viewable via the collab relay. The
2121+ # dashboard GCs the announcement once the session exits.
2122 packages.covibe =
2223 (pkgs.writeShellApplication {
2324 name = "covibe";
···2930 host="''${COVIBE_RELAY_HOST:-covibe.lassul.us}"
3031 name="''${COVIBE_NAME:-$(basename "$PWD")}"
31323232- # Dashboard API key: env, else the password store, else bail.
3333- api_key="''${COVIBE_API_KEY:-}"
3434- if [ -z "$api_key" ] && command -v pass >/dev/null 2>&1; then
3535- api_key="$(pass show covibe/api-key 2>/dev/null || true)"
3636- fi
3737- if [ -z "$api_key" ]; then
3838- echo "covibe: no API key. Set COVIBE_API_KEY or add 'covibe/api-key' to pass." >&2
3939- exit 1
4040- fi
4141-4233 exec ${covibe}/bin/covibe session \
4334 --dashboard "$dashboard" \
4444- --api-key "$api_key" \
4535 --relay-host "$host" \
4636 --web-client "$web" \
4737 --local-relay "$relay" \