Add update mechanism: update.sh script, project upgrade option in onboarding, update instructions in README, Bug 12

This commit is contained in:
2026-06-10 23:48:43 -04:00
parent 3ac1b0858b
commit a17cbbe304
5 changed files with 104 additions and 4 deletions
+16
View File
@@ -21,6 +21,22 @@ chmod +x install.sh
```
*Note: This creates the "brain" of the framework (prompts, state machines, and rules) in your home directory.*
### Updating the Framework
When the framework is updated, you can update your global installation:
```bash
cd ~/.agent-framework
./update.sh
```
This will:
- Fetch the latest changes from the repository
- Check for uncommitted changes and warn you
- Pull the latest updates
**Upgrading existing projects:** When the framework is updated, existing projects may need their framework files upgraded (new phases added, new prompts, etc.). To upgrade an existing project, tell the agent: "Upgrade the agent-framework for this project." The agent will check for missing files and update them.
---
## 2. Project Setup (Per project)