Skip to content

Conversation

@godronus
Copy link
Collaborator

@godronus godronus commented Jan 28, 2026

Adds auto-run capability to our extension for use in workspaces setup and future AI Agent interaction for debugging

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces an autorun feature that allows commands to be automatically executed when VS Code starts up or when a trigger file is created/modified. Users can place a .vscode/.fastedge-run-command file containing a command name (or JSON with command and args) to trigger automatic execution of allowlisted FastEdge commands.

Changes:

  • Added trigger file handler for auto-executing commands from .vscode/.fastedge-run-command files
  • Changed activation event from onDebug to onStartupFinished to enable autorun functionality on startup
  • Version bump from 0.1.8 to 0.1.12

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 10 comments.

File Description
src/extension.ts Integrates the trigger file handler initialization into the extension activation
src/autorun/triggerFileHandler.ts Implements the complete trigger file watching and command execution logic with security allowlist
src/autorun/index.ts Exports the trigger file handler initialization function
package.json Updates version and changes activation event to enable startup-time initialization

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@godronus godronus force-pushed the fix/codespace-autorun branch from 8b61ce8 to fbcb174 Compare January 28, 2026 18:47
@godronus godronus force-pushed the fix/codespace-autorun branch from 7239542 to 53fab3e Compare January 28, 2026 18:54
@godronus godronus requested a review from qrdl January 28, 2026 19:12
@godronus godronus merged commit 7de6fc8 into main Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants