depwire-cli 0.9.2 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,6 +7,9 @@
7
7
  <a href="https://www.npmjs.com/package/depwire-cli">
8
8
  <img src="https://img.shields.io/npm/dm/depwire-cli.svg?style=flat-square" alt="npm downloads" />
9
9
  </a>
10
+ <a href="https://glama.ai/mcp/servers/depwire/depwire">
11
+ <img src="https://glama.ai/mcp/servers/depwire/depwire/badges/score.svg" alt="depwire/depwire MCP server" />
12
+ </a>
10
13
  <a href="LICENSE">
11
14
  <img src="https://img.shields.io/badge/license-BUSL--1.1-blue.svg?style=flat-square" alt="License" />
12
15
  </a>
@@ -4337,17 +4337,24 @@ function displayConfidenceGroup(level, symbols, verbose, projectRoot) {
4337
4337
  color.bold(`
4338
4338
  ${emoji} ${level} CONFIDENCE `) + chalk.gray(`(${level === "HIGH" ? "definitely" : level === "MEDIUM" ? "probably" : "might be"} dead)`)
4339
4339
  );
4340
- const headers = ["Symbol", "Kind", "File", verbose ? "Reason" : ""];
4341
- const rows = symbols.map((symbol) => {
4342
- const relativePath = path4.relative(projectRoot, symbol.file);
4343
- return [
4344
- chalk.bold(symbol.name),
4345
- symbol.kind,
4346
- `${relativePath}:${symbol.line}`,
4347
- verbose ? symbol.reason : ""
4348
- ];
4349
- });
4350
- displayTable(headers, rows.filter((row) => row[3] !== ""));
4340
+ if (verbose) {
4341
+ const headers = ["Symbol", "Kind", "File", "Reason"];
4342
+ const rows = symbols.map((symbol) => {
4343
+ const relativePath = path4.relative(projectRoot, symbol.file);
4344
+ return [
4345
+ chalk.bold(symbol.name),
4346
+ symbol.kind,
4347
+ `${relativePath}:${symbol.line}`,
4348
+ symbol.reason
4349
+ ];
4350
+ });
4351
+ displayTable(headers, rows);
4352
+ } else {
4353
+ symbols.forEach((symbol) => {
4354
+ const relativePath = path4.relative(projectRoot, symbol.file);
4355
+ console.log(` ${relativePath} :: ${symbol.name}`);
4356
+ });
4357
+ }
4351
4358
  }
4352
4359
  function displayTable(headers, rows) {
4353
4360
  if (rows.length === 0) return;
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  stashChanges,
28
28
  updateFileInGraph,
29
29
  watchProject
30
- } from "./chunk-3DXWSPZL.js";
30
+ } from "./chunk-JICAYZUJ.js";
31
31
 
32
32
  // src/index.ts
33
33
  import { Command } from "commander";
@@ -6,7 +6,7 @@ import {
6
6
  startMcpServer,
7
7
  updateFileInGraph,
8
8
  watchProject
9
- } from "./chunk-3DXWSPZL.js";
9
+ } from "./chunk-JICAYZUJ.js";
10
10
 
11
11
  // src/mcpb-entry.ts
12
12
  import { resolve } from "path";
@@ -1,5 +1,5 @@
1
1
  let temporalData = null;
2
- let currentIndex = 0;
2
+ let currentIndex = 0; // Will be set to latest snapshot after data loads
3
3
  let isPlaying = false;
4
4
  let playSpeed = 1;
5
5
  let playInterval = null;
@@ -15,8 +15,10 @@ async function init() {
15
15
  document.getElementById('projectName').textContent = temporalData.projectName;
16
16
  document.getElementById('snapshotCount').textContent = temporalData.snapshots.length;
17
17
 
18
+ currentIndex = temporalData.snapshots.length - 1; // Start at latest snapshot
19
+
18
20
  setupTimeline();
19
- renderSnapshot(0);
21
+ renderSnapshot(currentIndex);
20
22
  setupControls();
21
23
  setupSearch();
22
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "depwire-cli",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "description": "Code cross-reference visualization and AI context engine for TypeScript, JavaScript, Python, Go, Rust, and C. Zero native dependencies — works on Windows, macOS, and Linux.",
5
5
  "type": "module",
6
6
  "bin": {