search-local-files
workflowv1.0.0Local filesystem search using the native searchLocal executor
Install
kdeps registry install search-local-files
Then run locally:
kdeps exec search-local-files
Configure LLM provider in ~/.kdeps/config.yaml (created automatically on first run).
README
search-local-files
Local filesystem search using the built-in native searchLocal executor -- walks directories with glob filtering, pure Go, no external dependencies.
Usage
kdeps run examples/search-local-files/workflow.yaml --dev
Search files by keyword:
curl -X POST http://localhost:16404/search \
-H "Content-Type: application/json" \
-d '{"query": "error handling", "path": "/var/log", "glob": "*.log"}'
Search Go source files:
curl -X POST http://localhost:16404/search \
-H "Content-Type: application/json" \
-d '{"query": "interface", "path": "/app/src", "glob": "*.go"}'
How it works
- search --
run.searchLocalwalks the given path, filters by glob, and returns files containing the keyword - response -- returns matching file paths, match count, and the original query
Config fields
| Field | Description | Default |
|---|---|---|
path | Directory to search | /data |
query | Keyword to search for | (required) |
glob | File pattern filter | all files |
limit | Max results (0 = unlimited) | 20 |
Structure
search-local-files/
├── workflow.yaml
└── resources/
├── search.yaml # run.searchLocal - native filepath.WalkDir
└── response.yaml # API response
Versions
| Version | Published | Status |
|---|---|---|
| 1.0.0 | 4/11/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 4/11/2026
Tags
searchfilesystem