depwire-cli 0.9.4 → 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
|
|
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
package/dist/mcpb-entry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "depwire-cli",
|
|
3
|
-
"version": "0.9.
|
|
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": {
|