search-local-files

workflowv1.0.0

Local 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

  1. search -- run.searchLocal walks the given path, filters by glob, and returns files containing the keyword
  2. response -- returns matching file paths, match count, and the original query

Config fields

FieldDescriptionDefault
pathDirectory to search/data
queryKeyword to search for(required)
globFile pattern filterall files
limitMax results (0 = unlimited)20

Structure

search-local-files/
├── workflow.yaml
└── resources/
    ├── search.yaml    # run.searchLocal - native filepath.WalkDir
    └── response.yaml  # API response

Versions

VersionPublishedStatus
1.0.04/11/2026active

Details

Author
kdeps
License
Apache-2.0
Latest Version
1.0.0
Published
4/11/2026

Tags

searchfilesystem