Merge pull request 'fix scpt' (#2) from feature/shell-integration into main

Reviewed-on: #2
This commit is contained in:
syui 2025-06-02 16:27:12 +00:00
commit e7e57b7b4b
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/zsh
# Setup Python virtual environment in the new config directory # Setup Python virtual environment in the new config directory
VENV_DIR="$HOME/.config/syui/ai/gpt/venv" VENV_DIR="$HOME/.config/syui/ai/gpt/venv"
@ -15,4 +15,9 @@ pip install -e .
echo "Setup complete!" echo "Setup complete!"
echo "To activate the virtual environment, run:" echo "To activate the virtual environment, run:"
echo "source ~/.config/syui/ai/gpt/venv/bin/activate" echo "source ~/.config/syui/ai/gpt/venv/bin/activate"
if [ -z "`$SHELL -i -c \"alias aigpt\"`" ]; then
echo 'alias aigpt="$HOME/.config/syui/ai/gpt/venv/bin/aigpt"' >> ${HOME}/.$(basename $SHELL)rc
exec $SHELL
fi

View File

@ -11,6 +11,7 @@ src/aigpt/mcp_server_simple.py
src/aigpt/memory.py src/aigpt/memory.py
src/aigpt/models.py src/aigpt/models.py
src/aigpt/persona.py src/aigpt/persona.py
src/aigpt/project_manager.py
src/aigpt/relationship.py src/aigpt/relationship.py
src/aigpt/scheduler.py src/aigpt/scheduler.py
src/aigpt/transmission.py src/aigpt/transmission.py