Skip to content

Commit f89069b

Browse files
prosdevclaude
andcommitted
docs: add changelog and release notes for dev refs CLI
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0e8c053 commit f89069b

3 files changed

Lines changed: 31 additions & 4 deletions

File tree

.changeset/refs-cli.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@prosdevlab/dev-agent': patch
3+
---
4+
5+
Add `dev refs` CLI command and fix callee path normalization
6+
7+
- New `dev refs <name>` command: find callers and callees from the terminal
8+
- `--direction callees|callers|both` to filter results
9+
- `--depends-on <file>` to trace dependency paths
10+
- `--json` for machine-readable output
11+
- Normalize callee file paths: `dist/``src/`, `.d.ts``.ts`, absolute → relative
12+
- Fix hot paths showing build output (`packages/logger/dist/types.d.ts``packages/logger/src/types.ts`)
13+
- Fix indexer passing empty exclude array (was bypassing scanner default exclusions)

website/content/latest-version.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
*/
55

66
export const latestVersion = {
7-
version: '0.11.1',
8-
title: 'Cached Dependency Graph',
7+
version: '0.11.2',
8+
title: 'dev refs CLI Command',
99
date: 'April 1, 2026',
1010
summary:
11-
'dev_map and dev_refs load a pre-built graph instead of fetching all docs — removes the 10k doc ceiling for larger repos.',
12-
link: '/updates#v0111--cached-dependency-graph',
11+
'Find callers and callees from the terminal — dev refs <name>. Plus callee path normalization so hot paths show source files.',
12+
link: '/updates#v0112--dev-refs-cli-command',
1313
} as const;

website/content/updates/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@ What's new in dev-agent. We ship improvements regularly to help AI assistants un
99

1010
---
1111

12+
## v0.11.2 — `dev refs` CLI Command
13+
14+
*April 1, 2026*
15+
16+
**Find callers and callees from the terminal** — no MCP server needed.
17+
18+
- `dev refs <name>` — callees (what it calls) and callers (what calls it)
19+
- `dev refs <name> --depends-on <file>` — trace the dependency chain between files
20+
- `--direction callees|callers|both` and `--json` for scripting
21+
- Callee file paths now point to source files instead of build output
22+
- Hot paths in `dev map` show `packages/logger/src/types.ts` instead of `dist/types.d.ts`
23+
24+
---
25+
1226
## v0.11.1 — Cached Dependency Graph
1327

1428
*April 1, 2026*

0 commit comments

Comments
 (0)