Commit e449252
✨ feat(extension): Add the ability to run an "autoLaunch" prompt as soon as the extension activates (#581)
* ✨ feat(extension): Run an "autoLaunch" prompt as soon as the extension activates
This adds the ability to automatically start a prompt right when VSCode is launched. When the extension activates, it will check for a file `.kilocode/launchPrompt.md`. If found, it will immediately start executing the prompt.
This allows us to do some really cool automations– this would give the extension the ability to test itself. You could write a prompt into a dir, then launch `code` to that dir. The prompt could tell Kilo to test out it's own functionality and then write out a bug report when it's done.
If there's a better way to trigger prompts automatically, please let me know! But this feature would let me continue to experiment in my own dev workflows and eventually Kilo can fully build itself!
- integrate maybeRunAutoLaunchPrompt to auto launch prompt if available
- create autoLaunchPrompt utility to check and execute launchPrompt.md file
* ♻️ refactor(extension): update auto-launch task logic
- rename maybeRunAutoLaunchPrompt to checkAndRunAutoLaunchingTask for clarity
- add await to checkAndRunAutoLaunchingTask
---------
Co-authored-by: Kilo Code <[email protected]>1 parent 3d2e749 commit e449252
2 files changed
+33
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
| 213 | + | |
| 214 | + | |
212 | 215 | | |
213 | 216 | | |
214 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments