contextswitch 0.1.10 → 0.1.11
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.
|
@@ -207,6 +207,11 @@ ${psScript}`);
|
|
|
207
207
|
const useTab = mode === "tab";
|
|
208
208
|
const wtInstalled = this.isCommandAvailable("wt.exe");
|
|
209
209
|
debug("process", `Windows Terminal available: ${wtInstalled}`);
|
|
210
|
+
if (!wtInstalled && useTab) {
|
|
211
|
+
console.log("Note: Windows Terminal is not installed. Tabs require Windows Terminal.");
|
|
212
|
+
console.log("Install it from the Microsoft Store: https://aka.ms/terminal");
|
|
213
|
+
console.log("Opening in a new window instead.\n");
|
|
214
|
+
}
|
|
210
215
|
if (wtInstalled) {
|
|
211
216
|
try {
|
|
212
217
|
const wtArgs = useTab ? ["-w", "0", "nt", "powershell", "-ExecutionPolicy", "Bypass", "-File", psScriptFile] : ["powershell", "-ExecutionPolicy", "Bypass", "-File", psScriptFile];
|
package/dist/cli.js
CHANGED
|
@@ -24,7 +24,7 @@ function getVersion() {
|
|
|
24
24
|
const packageJson = JSON.parse(readFileSync(packagePath, "utf-8"));
|
|
25
25
|
return packageJson.version;
|
|
26
26
|
} catch {
|
|
27
|
-
return "0.1.
|
|
27
|
+
return "0.1.11";
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
function processSessionFallbackMarker() {
|
|
@@ -193,7 +193,7 @@ program.command("switch <domain>").description("Switch to a domain and launch Cl
|
|
|
193
193
|
console.error(pc.red(`\u274C Invalid launch mode '${options.mode}'. Must be: window, tab, or inline`));
|
|
194
194
|
process.exit(1);
|
|
195
195
|
}
|
|
196
|
-
const { switchCommand } = await import("./switch-
|
|
196
|
+
const { switchCommand } = await import("./switch-CJZHDQYU.js");
|
|
197
197
|
await switchCommand(domain, options);
|
|
198
198
|
});
|
|
199
199
|
program.command("reset <domain>").description("Reset a domain session (archives current session by default)").option("--skip-archive", "Skip archiving the current session").option("-f, --force", "Skip confirmation prompt").action(async (domain, options) => {
|
|
@@ -299,7 +299,7 @@ domainCmd.command("remove <name>").alias("rm").description("Remove a domain from
|
|
|
299
299
|
}
|
|
300
300
|
});
|
|
301
301
|
program.command("doctor").description("Check system configuration and diagnose issues").action(async () => {
|
|
302
|
-
const { processManager } = await import("./process-
|
|
302
|
+
const { processManager } = await import("./process-MZG7SKJ5.js");
|
|
303
303
|
console.log(pc.cyan("\u{1FA7A} Running diagnostics...\n"));
|
|
304
304
|
const failures = [];
|
|
305
305
|
const claudeInstalled = processManager.verifyClaudeInstalled();
|