Skip to content

phidn/trae-ai-continue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Continue Agent

A Visual Studio Code extension that automatically clicks "Continue" buttons in AI chat panels like TRAE or Builder.

Features

  • Status Bar Toggle: Easy on/off control with visual indicator
  • Automatic Detection: Uses MutationObserver to detect new Continue buttons
  • Persistent Operation: Works continuously without needing DevTools
  • Safe Operation: Only clicks buttons with "Continue" text in .agent-error-wrap elements

How It Works

  1. Toggle Button: Click the status bar item $(debug-continue) Auto Continue: OFF/ON to enable/disable
  2. Background Monitoring: When enabled, creates a hidden webview that monitors the DOM
  3. Smart Detection: Looks for .agent-error-wrap .icube-alert-action elements with "Continue" text
  4. Auto-Click: Automatically clicks detected Continue buttons

Installation

  1. Copy this extension folder to your VS Code extensions directory
  2. Reload VS Code
  3. The extension will activate automatically

Usage

  1. Look for the status bar item on the right side: $(debug-continue) Auto Continue: OFF
  2. Click it to toggle: $(debug-continue) Auto Continue: ON
  3. The extension will now automatically click Continue buttons in AI chat panels
  4. Click again to disable: $(debug-continue) Auto Continue: OFF

Technical Details

  • Target Elements: .agent-error-wrap .icube-alert-action buttons containing "Continue" text
  • Detection Method: MutationObserver + periodic backup checks
  • Performance: Minimal impact, only activates when DOM changes occur
  • Cleanup: Properly disposes resources when disabled

Development

The extension consists of:

  • package.json: Extension manifest and metadata
  • extension.js: Main extension logic with status bar and webview management
  • Embedded HTML/JS: MutationObserver script for DOM monitoring

Requirements

  • VS Code 1.74.0 or higher
  • No additional dependencies required

About

Trae AI - Auto Cottinue

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published