cyrus-ai 0.1.36 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/dist/app.js +499 -225
- package/dist/app.js.map +1 -1
- package/dist/vitest.config.d.ts.map +1 -1
- package/dist/vitest.config.js +7 -7
- package/dist/vitest.config.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -10,10 +10,38 @@ npm install -g cyrus-ai
|
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
|
+
### Start the agent
|
|
13
14
|
```bash
|
|
14
15
|
cyrus
|
|
15
16
|
```
|
|
16
17
|
|
|
18
|
+
### Available Commands
|
|
19
|
+
|
|
20
|
+
- **`cyrus`** - Start the edge worker (default)
|
|
21
|
+
- **`cyrus add-repository`** - Add a new repository configuration
|
|
22
|
+
- **`cyrus check-tokens`** - Check the status of all Linear tokens
|
|
23
|
+
- **`cyrus refresh-token`** - Refresh a specific Linear token
|
|
24
|
+
|
|
25
|
+
### Adding Repositories
|
|
26
|
+
|
|
27
|
+
After initial setup, you can add additional repositories without restarting Cyrus:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
cyrus add-repository
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
This command will:
|
|
34
|
+
1. Check for existing Linear credentials and reuse them if available
|
|
35
|
+
2. Start OAuth flow only if no credentials are found
|
|
36
|
+
3. Guide you through configuring the new repository
|
|
37
|
+
4. Save the updated configuration
|
|
38
|
+
|
|
39
|
+
The interactive wizard will prompt you for:
|
|
40
|
+
- Repository path (must be absolute)
|
|
41
|
+
- Base branch (defaults to 'main')
|
|
42
|
+
- Workspace directory for git worktrees
|
|
43
|
+
- Whether the repository is active
|
|
44
|
+
|
|
17
45
|
## Configuration
|
|
18
46
|
|
|
19
47
|
### Environment Variables
|