feat: add .continue/configs support

Merged
RO
8mo ago
+12-13

Summary

  • Adds .continue/configs/ as a third directory (alongside .continue/agents/ and .continue/assistants/) for loading local config profiles
  • YAML files placed in .continue/configs/ (workspace or global) are now discovered, watched, and loaded as local profiles

Changes

  • loadLocalAssistants.ts: Updated isContinueConfigRelatedUri and isContinueAgentConfigFile to recognize .continue/configs/
  • ConfigHandler.ts: Added loading of definition files from the configs subdirectory in getLocalProfiles

Test plan

  • Place a YAML config file in .continue/configs/ and verify it appears as a selectable profile
  • Verify file creation/deletion in .continue/configs/ triggers config reload
  • Verify existing .continue/agents/ and .continue/assistants/ directories still work

Summary by cubic

Adds .continue/configs/ as a third config directory. Loading across assistants, agents, and configs now runs in parallel via Promise.all for faster discovery with proper error propagation.

  • New Features
    • ConfigHandler.getLocalProfiles now loads definition files from .continue/configs/.
    • URI helpers updated to recognize and watch .continue/configs/ files.