Results for "file"
31 packages found
The shipped, out-of-the-box defaults for every token-economy event. Applying this after switching to "frugal" or "thorough" resets them all in one step, without needing to hand-edit or delete override files.
Execute a bash shell command and return its output. Use for running scripts, checking system state (git status, ls, etc.), or performing file operations. Press Ctrl+C to interrupt (partial output returned to LLM); press Ctrl+Z to background (use bash_job_wait to retrieve output).
Find the definition of a symbol using semantic analysis (LSP). Returns file and line. Requires: symbol, path.
Get compiler/linter diagnostics for a file. Returns errors, warnings, hints. Requires: path.
Graph everything in the index: the full reference graph plus every root file (files nothing else references). Requires an index built with code_index_folder first.
Graph a single indexed file: its reference tree plus every other indexed file that shares a topic with it. Requires an index built with code_index_folder first. Requires: path.
Graph every indexed file tagged with a topic, plus the full reference graph. Requires an index built with code_index_folder first. Requires: topic.
Index the current working directory into a persistent graph database, tracking markdown/wikilink references between files and topics/tags declared in YAML frontmatter. Always indexes the CWD -- cannot be pointed at another directory. Run this once before code_graph_file, code_graph_topic, or code_graph_all.
Find all references to a symbol across the codebase. Returns every file and line. Requires: symbol, path.
List all symbols (functions, types, classes) in a file. Returns structured symbol info with nesting. Requires: path.
Edit a file. Pass command:
kdeps event: efficiency-file
The `exec:` resource runs a shell command and stores its stdout as the resource's output. Use it for system operations, file manipulation, or wrapping CLI tools that do not have a native resource type.
kdeps kdeps-component: file
kdeps event: file-call-budget
kdeps event: file-read-limit
kdeps dockerfile: image
List files and directories in a given directory path. Returns names and types (file/dir). Use to discover project structure before reading or editing files. Omit path to list the current working directory.
kdeps model: llamafile
Self-contained .llamafile binary serving OpenAI-compatible /v1