#!/usr/bin/env bash
# dsh-start — one-click DeepSeek Harness launcher (CLI entry)
# Delegates to the packaged start script. Resolves symlinks so the
# command works both from a local checkout and from an npm global
# install (where /opt/homebrew/bin/dsh-start -> ../lib/node_modules/...).
SOURCE="${BASH_SOURCE[0]}"
while [ -L "$SOURCE" ]; do
  DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
  SOURCE="$(readlink "$SOURCE")"
  [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
done
DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
exec bash "$DIR/../scripts/start-dsh.sh" "$@"
