lmprobe
lmprobe is a one-shot, AST-aware structural code-search CLI and 63-operation lmcode host for symbol graphs, Git history, secret scans, and guarded edits.
Quick reference
npm install -g @lmctl-ai/lmprobe
lmprobe --version
lmprobe --lmcode-schema --json
lmprobe --lmcode-signatures
lmprobe find "\.rs$" . --json
lmprobe git status --json
| Item | Kind | Purpose |
|---|---|---|
| def / ref / callers / callees / impact | CLI commands | Find symbol definitions, references, call graphs, and transitive change impact. |
| edit / fix / delete | CLI commands | Preview-first text and AST replacements and deletions (edit and fix write with --apply [--force]; delete executes with --force). |
| git / history / secrets / aws | CLI commands | Read-only Git records, commit churn/co-change history, secret scanning, and AWS queries. |
| --infile FILE.graphql --outfile OUT.json | CLI flags | Execute composable GraphQL queries across repository sensors. |
| probe_<operation>(json) -> string | 63 host functions | Invoke any lmprobe sensor from an _lmcode_ program and parse lmprobe.result.v1 JSON. |
| RestGet..RestOptions, CliCommand, CliOption | SAM interfaces | Standard lmcode_std_v3 REST and stateless CLI handler interfaces. |
program = _lmcode_ cli="lmprobe";
$return = json_parse(probe_git_status("{}"));
end _lmcode_
r = run_lmcode(program);
println(json_stringify(r));