This commit is contained in:
@@ -1,17 +1,22 @@
|
|||||||
# Agent Workspace Template
|
# Agent Workspace Setup
|
||||||
|
|
||||||
This template provides a starting point for agent workspaces.
|
This directory contains an isolated workspace for an AI agent.
|
||||||
|
|
||||||
## Environment Variables
|
## Quick Start
|
||||||
|
|
||||||
The following environment variables are automatically set:
|
1. The environment has been automatically configured
|
||||||
- `AGENT_ID`: The identifier for this agent
|
2. Check your `.env` file for available variables
|
||||||
- `WORKSPACE_PATH`: The path to this workspace
|
3. Dependencies have been installed if a `package.json` was present
|
||||||
- `AGENT_WORKSPACE`: Same as WORKSPACE_PATH
|
|
||||||
- `GIT_USER_EMAIL`: Git user email from global config
|
|
||||||
- `GIT_USER_NAME`: Git user name from global config
|
|
||||||
- `AGENT_CREATED_AT`: Timestamp when workspace was created
|
|
||||||
|
|
||||||
## Customization
|
## Commands
|
||||||
|
|
||||||
To add custom environment variables, create a `.env.custom` file in this template directory.
|
- `git-agent-sync status` - View current changes
|
||||||
|
- `git-agent-sync diff` - Generate a diff for review
|
||||||
|
- `git-agent-sync merge` - Merge changes back to main
|
||||||
|
- `git-agent-sync destroy` - Remove this workspace (use with caution!)
|
||||||
|
|
||||||
|
## Tips
|
||||||
|
|
||||||
|
- Make your changes and use `git status` to track them
|
||||||
|
- Use `git-agent-sync diff` to generate a code review diff
|
||||||
|
- When ready, run `git-agent-sync merge` to merge back to the main branch
|
||||||
|
|||||||
Reference in New Issue
Block a user