@ariso-ai/ivan 1.0.0 → 1.0.2
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 +55 -15
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -31,21 +31,7 @@ Ivan is an intelligent CLI tool that automates complex development workflows by
|
|
|
31
31
|
## Installation
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
|
|
35
|
-
git clone https://github.com/yourusername/ivan.git
|
|
36
|
-
cd ivan
|
|
37
|
-
|
|
38
|
-
# Install dependencies
|
|
39
|
-
npm install
|
|
40
|
-
|
|
41
|
-
# Build the project
|
|
42
|
-
npm run build
|
|
43
|
-
|
|
44
|
-
# Link globally for system-wide access
|
|
45
|
-
npm link
|
|
46
|
-
|
|
47
|
-
# Or run directly from the project directory
|
|
48
|
-
node dist/index.js
|
|
34
|
+
npm i -g @ariso-ai/ivan
|
|
49
35
|
```
|
|
50
36
|
|
|
51
37
|
## Configuration
|
|
@@ -95,6 +81,8 @@ ivan show-config
|
|
|
95
81
|
|
|
96
82
|
### Running Tasks
|
|
97
83
|
|
|
84
|
+
#### Interactive Mode
|
|
85
|
+
|
|
98
86
|
Simply run `ivan` in any git repository:
|
|
99
87
|
|
|
100
88
|
```bash
|
|
@@ -108,6 +96,27 @@ Then describe what you want to accomplish. Ivan will:
|
|
|
108
96
|
4. Create pull requests with proper commits and AI-generated review instructions
|
|
109
97
|
5. Optionally wait 30 minutes and automatically address any PR comments
|
|
110
98
|
|
|
99
|
+
#### Non-Interactive Mode (Headless)
|
|
100
|
+
|
|
101
|
+
Run Ivan with a task description directly from the command line:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
# Provide task description as an argument
|
|
105
|
+
ivan "Add user authentication with JWT tokens"
|
|
106
|
+
|
|
107
|
+
# Skip the review waiting prompt (don't wait for PR reviews)
|
|
108
|
+
ivan "Refactor the database module" --no-wait
|
|
109
|
+
|
|
110
|
+
# Wait for PR reviews after completion
|
|
111
|
+
ivan "Add comprehensive test coverage" --wait-for-reviews
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Non-interactive mode is perfect for:
|
|
115
|
+
- CI/CD pipelines
|
|
116
|
+
- Automated workflows
|
|
117
|
+
- Scripting and automation
|
|
118
|
+
- Running Ivan from other tools
|
|
119
|
+
|
|
111
120
|
### CLI Commands
|
|
112
121
|
|
|
113
122
|
#### Main Commands
|
|
@@ -155,6 +164,12 @@ Automatically handle PR review comments:
|
|
|
155
164
|
```bash
|
|
156
165
|
# Scan all open PRs for unaddressed comments and failing checks
|
|
157
166
|
ivan address
|
|
167
|
+
|
|
168
|
+
# Only process comments from a specific GitHub user
|
|
169
|
+
ivan address --from-user username
|
|
170
|
+
|
|
171
|
+
# Filter to comments from multiple users
|
|
172
|
+
ivan address --from-user user1 --from-user user2
|
|
158
173
|
```
|
|
159
174
|
|
|
160
175
|
This will:
|
|
@@ -166,6 +181,11 @@ This will:
|
|
|
166
181
|
6. Reply to each comment with the commit that fixed it
|
|
167
182
|
7. Add a review request with specific instructions
|
|
168
183
|
|
|
184
|
+
**Filtering by user**: The `--from-user` flag allows you to focus on comments from specific reviewers, which is useful when:
|
|
185
|
+
- Working with specific team members
|
|
186
|
+
- Prioritizing feedback from senior reviewers
|
|
187
|
+
- Processing comments in batches by reviewer
|
|
188
|
+
|
|
169
189
|
### Example Requests
|
|
170
190
|
|
|
171
191
|
- "Add user authentication with JWT tokens"
|
|
@@ -299,6 +319,26 @@ Ivan maintains a local SQLite database to track:
|
|
|
299
319
|
- Execution logs with tool calls
|
|
300
320
|
- Timestamps
|
|
301
321
|
|
|
322
|
+
## Running Locally
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
# Clone the repository
|
|
326
|
+
git clone https://github.com/ariso-ai/ivan.git
|
|
327
|
+
cd ivan
|
|
328
|
+
|
|
329
|
+
# Install dependencies
|
|
330
|
+
npm install
|
|
331
|
+
|
|
332
|
+
# Build the project
|
|
333
|
+
npm run build
|
|
334
|
+
|
|
335
|
+
# Link globally for system-wide access
|
|
336
|
+
npm link
|
|
337
|
+
|
|
338
|
+
# Or run directly from the project directory
|
|
339
|
+
node dist/index.js
|
|
340
|
+
```
|
|
341
|
+
|
|
302
342
|
## Development
|
|
303
343
|
|
|
304
344
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ariso-ai/ivan",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"claude",
|
|
40
40
|
"openai"
|
|
41
41
|
],
|
|
42
|
-
"description": "
|
|
42
|
+
"description": "AI-powered development assistant that automates complex workflows by breaking down tasks, implementing them with Claude, and creating PRs.",
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@eslint/js": "^9.34.0",
|
|
45
45
|
"@jest/globals": "^30.1.2",
|