P0: Rust engine, wire daemon and audio-reactive descent surface

This commit is contained in:
Emil
2026-11-01 00:36:04 +03:00
parent cd967cced4
commit db4368efae
68 changed files with 19507 additions and 3 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
if [ -z "${DEEPSEEK_API_KEY:-}" ]; then
DEEPSEEK_API_KEY="$(python3 - <<'PY'
import os
try:
import yaml
d = yaml.safe_load(open(os.path.expanduser('~/.dsh/.credentials.yaml')))
print((d.get('refs') or {}).get('DEEPSEEK_API_KEY', ''))
except Exception:
print('')
PY
)"
export DEEPSEEK_API_KEY
fi
if [ -z "${DEEPSEEK_API_KEY}" ]; then
echo "no DEEPSEEK_API_KEY — the choir will run in local mode"
fi
exec node server.js