-
Notifications
You must be signed in to change notification settings - Fork 192
Updater and abstraction for package management #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
yooooo i opened issue #73 without even seeing you already did it! 😮💨 |
# Conflicts: # agentstack/generation/tool_generation.py
# Conflicts: # agentstack/generation/tool_generation.py
|
i extended |
|
i decided to store CLI update checks in the application data dirs using python's cat ~/Library/Application\ Support/AgentStack/.cli-last-update
{
"/Users/braelyn/Developer/agentstack/AgentStack/venv": "2024-12-02T22:39:45.275908"
}% |
# Conflicts: # agentstack/generation/tool_generation.py
|
im happy with this now. i'd love final thoughts / review @tcdent |
Just parsing this out in my mind: The user's project dir keeps track of the last update check for all installations of agentstack it has interacted with. If the user loads a shared venv into another project, it tracks the last-update for all installations of agentstack it has interacted with, separately. I think storing it in the venv is the way to go. |
Updater checks the PyPi api for the latest version, and then uses the package manager we're already using in the user's project to install updates.
packaging.pyis a simple wrapper that abstracts all interactions with packaging so we can change it in one place when we make the move to another system.