forked from dezgit2025/auto-memory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·24 lines (21 loc) · 759 Bytes
/
Copy pathinstall.sh
File metadata and controls
executable file
·24 lines (21 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
# Synced to deploy/install.md — see that file for the full agent-runnable flow
# AI agents: use a reasoning model (Sonnet 4.6, GPT-5.4) — mini models may skip confirmation gates
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$SCRIPT_DIR"
echo "Installing session-recall..."
if command -v uv >/dev/null 2>&1; then
echo "Using uv..."
uv tool install --force --editable .
elif command -v pipx >/dev/null 2>&1; then
echo "Using pipx..."
pipx install --force -e .
else
echo "WARN: uv and pipx not found, falling back to pip --user"
python3 -m pip install --user --force-reinstall -e .
fi
echo ""
echo "Installed. Verify with:"
echo " which session-recall"
echo " session-recall schema-check"