feat(complete-module): add completions logic, dialog and providers

This commit is contained in:
Adictya
2025-05-15 08:42:45 +05:30
committed by Adam
parent a33e3e25b6
commit 15bf40bc10
9 changed files with 924 additions and 284 deletions

View File

@@ -15,6 +15,7 @@ import (
"time"
"github.com/sst/opencode/internal/config"
"github.com/sst/opencode/internal/fileutil"
)
type GrepParams struct {
@@ -288,7 +289,7 @@ func searchFilesWithRegex(pattern, rootPath, include string) ([]grepMatch, error
return nil // Skip directories
}
if skipHidden(path) {
if fileutil.SkipHidden(path) {
return nil
}