@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.
Files changed (51) hide show
  1. package/.env.aidev.example +5 -0
  2. package/CONTRIBUTING.md +1 -1
  3. package/README.md +31 -0
  4. package/aidev.log +698 -0
  5. package/dist/__tests__/ai-runners.test.d.ts +2 -0
  6. package/dist/__tests__/ai-runners.test.d.ts.map +1 -0
  7. package/dist/__tests__/ai-runners.test.js +167 -0
  8. package/dist/__tests__/ai-runners.test.js.map +1 -0
  9. package/dist/__tests__/config.test.d.ts +2 -0
  10. package/dist/__tests__/config.test.d.ts.map +1 -0
  11. package/dist/__tests__/config.test.js +272 -0
  12. package/dist/__tests__/config.test.js.map +1 -0
  13. package/dist/__tests__/init.test.js +17 -0
  14. package/dist/__tests__/init.test.js.map +1 -1
  15. package/dist/__tests__/schedule.test.js +154 -0
  16. package/dist/__tests__/schedule.test.js.map +1 -1
  17. package/dist/ai/claude.d.ts.map +1 -1
  18. package/dist/ai/claude.js +5 -0
  19. package/dist/ai/claude.js.map +1 -1
  20. package/dist/ai/cursor.d.ts.map +1 -1
  21. package/dist/ai/cursor.js +4 -1
  22. package/dist/ai/cursor.js.map +1 -1
  23. package/dist/ai/windsurf.d.ts.map +1 -1
  24. package/dist/ai/windsurf.js +4 -1
  25. package/dist/ai/windsurf.js.map +1 -1
  26. package/dist/cli.js +6 -0
  27. package/dist/cli.js.map +1 -1
  28. package/dist/commands/init.d.ts +1 -0
  29. package/dist/commands/init.d.ts.map +1 -1
  30. package/dist/commands/init.js +11 -0
  31. package/dist/commands/init.js.map +1 -1
  32. package/dist/commands/run.d.ts.map +1 -1
  33. package/dist/commands/run.js +10 -2
  34. package/dist/commands/run.js.map +1 -1
  35. package/dist/commands/schedule.d.ts +17 -0
  36. package/dist/commands/schedule.d.ts.map +1 -1
  37. package/dist/commands/schedule.js +339 -6
  38. package/dist/commands/schedule.js.map +1 -1
  39. package/dist/config.d.ts +19 -0
  40. package/dist/config.d.ts.map +1 -1
  41. package/dist/config.js +96 -3
  42. package/dist/config.js.map +1 -1
  43. package/dist/diagnostics.d.ts +14 -0
  44. package/dist/diagnostics.d.ts.map +1 -0
  45. package/dist/diagnostics.js +89 -0
  46. package/dist/diagnostics.js.map +1 -0
  47. package/dist/platform.d.ts +7 -0
  48. package/dist/platform.d.ts.map +1 -1
  49. package/dist/platform.js +36 -0
  50. package/dist/platform.js.map +1 -1
  51. package/package.json +4 -4
@@ -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
@@ -13,7 +13,7 @@ Thank you for your interest in contributing!
13
13
  ## Development Setup
14
14
 
15
15
  ```bash
16
- git clone https://github.com/your-org/aidev
16
+ git clone https://github.com/qelos-io/aidev
17
17
  cd aidev
18
18
  npm install
19
19
  npm run dev -- init # uses tsx, no build needed
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 |