@qelos/aidev 0.1.7 → 0.1.9
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 +26 -4
- package/aidev.log +714 -62
- package/dist/__tests__/init.test.js +1 -0
- package/dist/__tests__/init.test.js.map +1 -1
- package/dist/__tests__/run.test.js +70 -0
- package/dist/__tests__/run.test.js.map +1 -1
- package/dist/commands/help.d.ts.map +1 -1
- package/dist/commands/help.js +6 -0
- package/dist/commands/help.js.map +1 -1
- package/dist/commands/init.d.ts +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +7 -0
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/run.d.ts +9 -1
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +104 -37
- package/dist/commands/run.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -0
- package/dist/config.js.map +1 -1
- package/dist/git.d.ts +1 -0
- package/dist/git.d.ts.map +1 -1
- package/dist/git.js +26 -0
- package/dist/git.js.map +1 -1
- package/dist/platform.d.ts +6 -0
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +66 -0
- package/dist/platform.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,9 +33,9 @@ ClickUp task → AI implements → git push → "in review"
|
|
|
33
33
|
|
|
34
34
|
1. **Fetch** — pulls all tasks tagged with your configured tag from ClickUp
|
|
35
35
|
2. **Filter** — skips done/cancelled tasks and tasks that already have a branch
|
|
36
|
-
3. **Clarify** — in `smart` mode, asks the AI if the task description is clear enough; if not, posts a question as a comment and marks the task `pending`
|
|
37
|
-
4. **Wait** — pending tasks are re-checked on the next run; if a human replied, implementation proceeds with the
|
|
38
|
-
5. **Implement** — checks out a fresh branch, runs your configured AI agent(s), falls back to the next agent if one fails
|
|
36
|
+
3. **Clarify** — in `smart` mode, asks the AI if the task description is clear enough; if not, posts a question as a comment (prefixed with `[aidev]`) and marks the task `pending`
|
|
37
|
+
4. **Wait** — pending tasks are re-checked on the next run; if a human replied or the trigger word is found, implementation proceeds with the conversation as context
|
|
38
|
+
5. **Implement** — checks out a fresh branch (or reuses an existing one), runs your configured AI agent(s), falls back to the next agent if one fails
|
|
39
39
|
6. **Ship** — commits all changes, pushes the branch, posts a comment with the branch name and a PR link, moves the task to your "in review" status
|
|
40
40
|
|
|
41
41
|
---
|
|
@@ -123,12 +123,13 @@ Run `aidev init` for an interactive setup, or create `.env.aidev` manually using
|
|
|
123
123
|
| `GITHUB_BASE_BRANCH` | `main` | Base branch; new task branches are cut from here |
|
|
124
124
|
| `GITHUB_REPO` | — | `owner/repo` — used to generate PR links in comments |
|
|
125
125
|
|
|
126
|
-
###
|
|
126
|
+
### Behaviour
|
|
127
127
|
|
|
128
128
|
| Variable | Default | Description |
|
|
129
129
|
|---|---|---|
|
|
130
130
|
| `AGENTS` | `claude,cursor` | Comma-separated list of agents in priority order |
|
|
131
131
|
| `DEV_NOTES_MODE` | `smart` | When to ask for clarification (`smart` or `always`) |
|
|
132
|
+
| `AIDEV_TRIGGER_WORD` | `aidev-continue` | Comment containing this word re-triggers a skipped task |
|
|
132
133
|
|
|
133
134
|
---
|
|
134
135
|
|
|
@@ -165,6 +166,27 @@ AGENTS=windsurf
|
|
|
165
166
|
|
|
166
167
|
---
|
|
167
168
|
|
|
169
|
+
## Trigger word & re-processing
|
|
170
|
+
|
|
171
|
+
aidev prefixes every comment it posts with `[aidev]`. This lets it distinguish its own comments from human replies when deciding whether to re-process a task.
|
|
172
|
+
|
|
173
|
+
A task is normally skipped when:
|
|
174
|
+
- A remote branch already exists for it, **or**
|
|
175
|
+
- It is `pending` and no human has replied yet
|
|
176
|
+
|
|
177
|
+
To force aidev to pick the task up again, post a comment containing the **trigger word** (default: `aidev-continue`). aidev will reuse the existing branch and continue implementation from where it left off.
|
|
178
|
+
|
|
179
|
+
```bash
|
|
180
|
+
# Customise the trigger word in .env.aidev
|
|
181
|
+
AIDEV_TRIGGER_WORD=please-retry
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
The trigger word match is case-insensitive, so `aidev-continue`, `AIDEV-CONTINUE`, and `Aidev-Continue` all work.
|
|
185
|
+
|
|
186
|
+
For pending tasks, a regular human reply (any comment without `[aidev]`) also triggers re-processing — the trigger word is an additional explicit mechanism.
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
168
190
|
## Dev notes mode
|
|
169
191
|
|
|
170
192
|
Controls when aidev asks ClickUp for clarification before implementing.
|