This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tools.covibe: drop API key (dashboard announce is keyless now)

+5 -15
+5 -15
tools/covibe/flake-module.nix
··· 14 14 in 15 15 { 16 16 # Launch omp as a co-vibing session from any machine: `covibe session 17 - # --dashboard` registers the session over the dashboard's REST API (with 18 - # heartbeat + pane push), so it shows up in the covibe.lassul.us overview 19 - # just like a session started locally on neoprism, and is joinable / 20 - # browser-viewable via the collab relay. 17 + # --dashboard` announces the session over the dashboard's keyless REST API 18 + # (name + collab links, heartbeat + pane push), so it shows up in the 19 + # covibe.lassul.us overview just like a session started locally on 20 + # neoprism, and is joinable / browser-viewable via the collab relay. The 21 + # dashboard GCs the announcement once the session exits. 21 22 packages.covibe = 22 23 (pkgs.writeShellApplication { 23 24 name = "covibe"; ··· 29 30 host="''${COVIBE_RELAY_HOST:-covibe.lassul.us}" 30 31 name="''${COVIBE_NAME:-$(basename "$PWD")}" 31 32 32 - # Dashboard API key: env, else the password store, else bail. 33 - api_key="''${COVIBE_API_KEY:-}" 34 - if [ -z "$api_key" ] && command -v pass >/dev/null 2>&1; then 35 - api_key="$(pass show covibe/api-key 2>/dev/null || true)" 36 - fi 37 - if [ -z "$api_key" ]; then 38 - echo "covibe: no API key. Set COVIBE_API_KEY or add 'covibe/api-key' to pass." >&2 39 - exit 1 40 - fi 41 - 42 33 exec ${covibe}/bin/covibe session \ 43 34 --dashboard "$dashboard" \ 44 - --api-key "$api_key" \ 45 35 --relay-host "$host" \ 46 36 --web-client "$web" \ 47 37 --local-relay "$relay" \