Releases: sting8k/srcwalk
Releases · sting8k/srcwalk
Release list
v1.0.1
Changed
- Added semantic drilldown footers to directory reads and made
overview --symbolsemit budget-adaptive inlinekind name@line-rangeanchors before falling back to compact symbol names. - Extended
show -C/--context-linesto line ranges, resolved sections, and comma-separated show/section targets; comma-separated multi reads clamp each target to 10 context lines. - Updated discover next-step guidance to prefer confirmed
contexttargets when structural candidates exist and rawshow <path>:<line> -C 10reads for text hits. - Reframed the embedded agent guide as an evidence contract with explicit
srcwalk-before-rgrouting and comma-separated literal OR discovery guidance.
v1.0.0
Highlights
- Reworked srcwalk around intent-first commands for agent navigation:
discover,
show,trace,context,assess,overview,deps,compare,diff,
andreview. - Added evidence packets with
source,kind,confidence,caveat, and
next-action guidance so agents can bound claims and continue from exact reads. - Added change-review and diff evidence flows for Git worktrees.
- Added HTML/Markdown document navigation and CSS/SCSS/Less structural navigation.
- Improved bundled/minified artifact navigation with provenance labels and clearer
caveats.
Breaking changes
- Removed legacy action-first commands and root analysis flags. Use the
intent-first commands in the migration table below. - Renamed the repo-orientation command from
maptooverview. - Root positional input is now exact path evidence. Use
srcwalk discover <query>
for search. - Slash-delimited text queries are literal text. Use
rgfor raw regex search.
Migration notes
| Before | Use now |
|---|---|
srcwalk find <query> |
srcwalk discover <query> |
srcwalk files <glob> |
srcwalk discover <glob> --as file |
srcwalk callers <target> |
srcwalk trace callers <target> |
srcwalk callees <target> |
srcwalk trace callees <target> |
srcwalk flow <target> |
srcwalk context <target> |
srcwalk impact <target> |
srcwalk assess <target> |
srcwalk map |
srcwalk overview |
srcwalk <query> |
srcwalk discover <query> |
Added
- Added
reviewfor change-set evidence packets with Flow Map context, changed
symbol summaries, and next-step commands. - Added
difffor structured Git diff evidence across ranges, staged changes,
working-tree changes, and untracked files. - Added
compare <target-a> <target-b>for structural shared/only evidence
between two known function-like targets, without equivalence or runtime claims. - Added
discover --as accessfor field/member access grouping across writes,
resets, reads, and unknown text evidence. - Added HTML and Markdown-style document navigation for sections, elements, code
blocks, links, and assets. - Added CSS, SCSS, and Less structural navigation for selectors, at-rules,
variables/properties, mixins/functions, imports, andurl(...)references. - Added
show -C/--context-lines, strict comma-separated multi-locationshow,
discover --match all,discover --exclude, and explicit literal OR through
discover --match any --as text. - Added smarter routing for exact bundled/minified artifact reads, exact
artifact-file scopes, and path-like file glob discovery.
Changed
- Upgraded
contextinto a one-target understanding packet with Flow Map
evidence, caller/callee neighborhood summaries, trust labels, and exact next
reads. - Made
deps <file>show explicit outbound and inbound sections by default,
including empty sections when no edges are found. - Grouped compact discover facets by file to reduce repeated path tokens while
preserving exact:line-rangeevidence. - Updated
comparefollow-up footers to route one-target follow-up reads through
context. - Refreshed README examples and
srcwalk guiderouting text around the
intent-first command model and evidence-label interpretation.
Fixed
- Bounded default
discover --as accessoutput and added pagination guidance for
large result sets. - Counted untracked diff file lines without loading the whole file into memory.
- Hardened quoted Git diff path parsing for paths containing
b/inside names. - Made review fallback routing resilient to wording changes in unsupported-target
diagnostics. - Fixed Windows CI builds for parser dependencies by using the Clang toolchain
environment consistently. - Improved path disambiguation when canonical and displayed temporary paths differ.
v0.5.0
Added
- Added Windows x64 CI, release asset, and npm install/run support, with path display, path filters, and path reads covered by Windows-specific tests.
Changed
- Improved JavaScript and TypeScript local dependency extraction for ESM specifiers, re-exports, and CommonJS
requirecalls, somapanddepsreport more complete local relations. - Documented Windows verification expectations for maintainers and tightened pull request workflow permissions.
Fixed
- Hardened source discovery against symlink scope escapes and invalid
SRCWALK_THREADSvalues. - Reduced noisy reverse dependency evidence by capping candidate searches and avoiding bare child-member matches without owner context.
v0.4.1
Added
- Improved artifact-mode JS/TS navigation with anchors, byte-range evidence, and section reads.
- Extended artifact routing across find, flow, impact, callers, and callees.
Changed
- Improved grouped artifact output, compact match snippets, and long-line hit evidence around matched terms.
- Clarified public artifact workflow guidance and added regression coverage for artifact navigation and path reads.
v0.4.0
Added
- Added action-first command routing for
find,files,callers,callees,deps,flow,impact, and path reads, backed by split command services and focused integration coverage. - Added dependency-aware
mapoutput with local relation groups, outbound dependency previews for narrowed scopes, and shallow directory token rollups for deep source trees. - Added JS/TS artifact-mode navigation for bundle anchors, artifact reads, artifact search snippets, and artifact caller/callee support within the supported language surface.
- Added path range read shortcuts such as
srcwalk <path>:start-endfor direct evidence reads without shellsed/headchains.
Changed
- Split large CLI, read, search, display, ranking, symbol, and command modules into smaller focused modules while preserving existing command behavior.
- Streamlined
srcwalk guide, README, and agent instructions around srcwalk-first navigation,srcwalk filesfor project filename discovery, narrow--scope, and generic unsupported-file fallbacks. - Improved caller, callee, deps, find, and map output UX with more compact semantic rows, directory grouping, footer tips, and clearer scope/depth wording.
Fixed
- Fixed unsupported
findquery syntax diagnostics so misuse now reports supported forms instead of falling through to misleading path-not-found errors. - Fixed map depth handling so explicit
--depthremains strict while token totals still roll up deep files into visible shallow directories. - Fixed several search/read edge cases around multi-scope queries, artifact snippets, path-line routing, semantic context display, and pagination coverage.
v0.3.2
Changed
- Removed the legacy
benchmark/harness from the repository and ignored local benchmark workspaces now that the maintained retrieval benchmark lives outside the published tree.
Fixed
- Improved
callersranking for common/overloaded method names by showing named contexts before top-level matches, demoting repeated callsites from the same caller context, and ranking explicit receivers ahead of self/no-receiver calls without filtering any candidates.
v0.3.1
Changed
- Grouped
srcwalk fileshuman output by directory by default, making larger file glob result sets easier to scan without adding a new flag.
Fixed
- Fixed JavaScript and TypeScript IIFE handling so named, async, generator, anonymous, arrow, and assigned IIFEs surface useful outline/search/caller/callee contexts.
- Fixed JavaScript and TypeScript assigned arrow functions so
find,callees, andcallerscan use the assigned variable name as the callable context.
v0.3.0
Added
- Added
srcwalk guideto print the full embedded, version-matched agent guide from the binary, making the installed binary the source of truth for agent routing policy. - Added
srcwalk version --checkto check the latest release and print update commands for npm, cargo, and Git installs. - Added multi-symbol + multi-scope
findsupport, so commands likesrcwalk find "A, B, C" --scope src --scope testsnow search each query across all scopes and render one section per query. - Added compact multi-section fallback output when
--section A,B --budget Nexceeds the section budget; output now keeps section labels, useful code snippets, omitted-line metrics, and concise follow-up hints instead of returning only a caveat. - Added C/C++ declarator-based function-name extraction for structural search and sections, including K&R-style definitions such as
rust_demangle_callback.
Changed
- Converted the installable
skills/srcwalk/SKILL.mdinto a minimal bootstrap entry that points agents tosrcwalk guide;compatible_srcwalknow requires a binary with the embedded guide contract. - Updated root
--helpand README examples to surfacesrcwalk guide, action-first analysis, multi-scope/multi-symbolfind, compact section reads, and current footer shapes. - Clarified paginated multi-scope
findoutput by labeling page-local scope counts asScopes on this page:instead of implying totals. - Shortened section-budget footers to keep enough metrics for agents without verbose prose.
Fixed
- Fixed repeated
--scopecombined with comma-separatedfindqueries; each query now correctly searches all scopes instead of silently losing multi-scope behavior. - Fixed paginated search count summaries so definition/usage/comment counts reflect the rendered page while continuation hints still use total matches.
- Fixed multi-section over-budget reads returning no body for large selections; they now degrade to compact snippets with anchor lines for requested ranges inside merged symbol sections.
- Fixed C structural outlines and symbol searches that previously surfaced some function definitions as
<anonymous>, enabling name-globfindand--section <symbol>on affected C files.
v0.2.7
Added
- Added
srcwalk files '<glob>'for ignore-aware, paginated file discovery. - Added symbol-name glob search in
findfor patterns likedisplayAjax*,*Controller, andrun_{full,expanded}*. - Added comma-separated mixed
--sectionreads and repeated--scopesupport forfind.
Changed
- Moved file-glob queries out of
find; usesrcwalk files '<glob>'instead. - Made
--expandbudget-aware so inline source is capped separately from search hits, with compact omitted-hit metrics. - Made explicit
--full --budget <N>act as the raw-read cap while preserving default safety caps. - Shortened agent-facing caveats for capped output, callers, impact, and path-like misses.
v0.2.6
Added
- Action-first analysis subcommands:
find,callers,callees,flow,impact,deps, andmap. Legacy flag syntax remains supported. - The srcwalk skill now includes example output shapes for
flowandimpactso agents understand their orientation/triage roles.
Changed
- CLI help, README, and the srcwalk skill now present the mental model as target-first file reading plus action-first analysis commands.
- Footer hints now use semantic prefixes:
Next:for suggested commands,Note:for context/status, andCaveat:for limitations.
Fixed
--section <symbol>no longer degrades to an outline solely because the section exceeds 200 lines; explicit sections now return source when within the effective token budget.- Path-like queries with separators now fail fast with an
fdcandidate hint when the file does not exist, instead of falling back to search and implying nested paths are unsupported.