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 +3 -0
- package/dist/{chunk-3DXWSPZL.js → chunk-JICAYZUJ.js} +18 -11
- package/dist/index.js +1 -1
- package/dist/mcpb-entry.js +1 -1
- package/dist/viz/public/temporal.js +4 -2
- package/package.json +1 -1
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
|
-
|
|
4341
|
-
|
|
4342
|
-
const
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
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
package/dist/mcpb-entry.js
CHANGED
|
@@ -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(
|
|
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.
|
|
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": {
|