depwire-cli 0.9.3 → 0.9.5

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.
@@ -8920,9 +8920,16 @@ async function stashChanges(dir) {
8920
8920
  }
8921
8921
  async function popStash(dir) {
8922
8922
  try {
8923
- execSync2("git stash pop -q", { cwd: dir, stdio: "ignore" });
8923
+ const stashList = execSync2("git stash list", {
8924
+ cwd: dir,
8925
+ encoding: "utf-8",
8926
+ stdio: ["pipe", "pipe", "ignore"]
8927
+ // Suppress stderr
8928
+ }).trim();
8929
+ if (stashList) {
8930
+ execSync2("git stash pop -q", { cwd: dir, stdio: "ignore" });
8931
+ }
8924
8932
  } catch (error) {
8925
- console.warn("Warning: Failed to restore stashed changes:", error);
8926
8933
  }
8927
8934
  }
8928
8935
  function isGitRepo(dir) {
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  stashChanges,
28
28
  updateFileInGraph,
29
29
  watchProject
30
- } from "./chunk-JICAYZUJ.js";
30
+ } from "./chunk-3R7PPY7P.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-JICAYZUJ.js";
9
+ } from "./chunk-3R7PPY7P.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.3",
3
+ "version": "0.9.5",
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": {