@qelos/aidev 0.1.14 → 0.1.16
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/.env.aidev.example +5 -0
- package/CONTRIBUTING.md +1 -1
- package/README.md +31 -0
- package/aidev.log +698 -0
- package/dist/__tests__/ai-runners.test.d.ts +2 -0
- package/dist/__tests__/ai-runners.test.d.ts.map +1 -0
- package/dist/__tests__/ai-runners.test.js +167 -0
- package/dist/__tests__/ai-runners.test.js.map +1 -0
- package/dist/__tests__/config.test.d.ts +2 -0
- package/dist/__tests__/config.test.d.ts.map +1 -0
- package/dist/__tests__/config.test.js +272 -0
- package/dist/__tests__/config.test.js.map +1 -0
- package/dist/__tests__/init.test.js +17 -0
- package/dist/__tests__/init.test.js.map +1 -1
- package/dist/__tests__/schedule.test.js +154 -0
- package/dist/__tests__/schedule.test.js.map +1 -1
- package/dist/ai/claude.d.ts.map +1 -1
- package/dist/ai/claude.js +5 -0
- package/dist/ai/claude.js.map +1 -1
- package/dist/ai/cursor.d.ts.map +1 -1
- package/dist/ai/cursor.js +4 -1
- package/dist/ai/cursor.js.map +1 -1
- package/dist/ai/windsurf.d.ts.map +1 -1
- package/dist/ai/windsurf.js +4 -1
- package/dist/ai/windsurf.js.map +1 -1
- package/dist/cli.js +6 -0
- package/dist/cli.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 +11 -0
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +10 -2
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/schedule.d.ts +17 -0
- package/dist/commands/schedule.d.ts.map +1 -1
- package/dist/commands/schedule.js +339 -6
- package/dist/commands/schedule.js.map +1 -1
- package/dist/config.d.ts +19 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +96 -3
- package/dist/config.js.map +1 -1
- package/dist/diagnostics.d.ts +14 -0
- package/dist/diagnostics.d.ts.map +1 -0
- package/dist/diagnostics.js +89 -0
- package/dist/diagnostics.js.map +1 -0
- package/dist/platform.d.ts +7 -0
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +36 -0
- package/dist/platform.js.map +1 -1
- package/package.json +4 -4
package/.env.aidev.example
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
# AIDEV_ENV_EXTEND: path to a shared/global env file loaded as the base for this file.
|
|
2
|
+
# Values in this file override the global one. Useful for sharing API keys across projects.
|
|
3
|
+
# Can also be set as a shell export (e.g. in ~/.zshrc) instead.
|
|
4
|
+
# AIDEV_ENV_EXTEND=~/.aidev.global
|
|
5
|
+
|
|
1
6
|
# PROVIDER: clickup | jira
|
|
2
7
|
PROVIDER=clickup
|
|
3
8
|
|
package/CONTRIBUTING.md
CHANGED
package/README.md
CHANGED
|
@@ -102,6 +102,36 @@ aidev schedule set "*/30 * * * *"
|
|
|
102
102
|
|
|
103
103
|
Run `aidev init` for an interactive setup, or create `.env.aidev` manually using `.env.aidev.example` as a template.
|
|
104
104
|
|
|
105
|
+
### Global env file (`AIDEV_ENV_EXTEND`)
|
|
106
|
+
|
|
107
|
+
If you work across multiple projects, you can keep shared settings (API keys, agent list, etc.) in a single global file and reference it from each project's `.env.aidev`:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
# ~/.aidev.global
|
|
111
|
+
CLICKUP_API_KEY=pk_...
|
|
112
|
+
CLICKUP_TEAM_ID=123456
|
|
113
|
+
AGENTS=claude,cursor
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
# my-project/.env.aidev — project-specific values override the global ones
|
|
118
|
+
AIDEV_ENV_EXTEND=~/.aidev.global
|
|
119
|
+
CLICKUP_TAG=my-project
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
**Priority order (highest → lowest):**
|
|
123
|
+
|
|
124
|
+
1. Shell environment variables (e.g. set in `~/.zshrc`) — never overwritten
|
|
125
|
+
2. Local `.env.aidev` values
|
|
126
|
+
3. `AIDEV_ENV_EXTEND` file values (global base)
|
|
127
|
+
|
|
128
|
+
`AIDEV_ENV_EXTEND` can be set in two ways:
|
|
129
|
+
|
|
130
|
+
- **Per-project** — add `AIDEV_ENV_EXTEND=/path/to/file` inside `.env.aidev`
|
|
131
|
+
- **Shell-wide** — `export AIDEV_ENV_EXTEND=~/.aidev.global` in `~/.zshrc` (applies to every project automatically)
|
|
132
|
+
|
|
133
|
+
`aidev init` will ask for this path and pre-fill it if the variable is already in your shell environment.
|
|
134
|
+
|
|
105
135
|
### ClickUp
|
|
106
136
|
|
|
107
137
|
| Variable | Default | Description |
|
|
@@ -127,6 +157,7 @@ Run `aidev init` for an interactive setup, or create `.env.aidev` manually using
|
|
|
127
157
|
|
|
128
158
|
| Variable | Default | Description |
|
|
129
159
|
|---|---|---|
|
|
160
|
+
| `AIDEV_ENV_EXTEND` | — | Path to a global env file loaded as the base for this project (see above) |
|
|
130
161
|
| `AGENTS` | `claude,cursor` | Comma-separated list of agents in priority order |
|
|
131
162
|
| `DEV_NOTES_MODE` | `smart` | When to ask for clarification (`smart` or `always`) |
|
|
132
163
|
| `AIDEV_TRIGGER_WORD` | `aidev-continue` | Comment containing this word re-triggers a skipped task |
|