claudish 5.16.1 → 5.17.0
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/dist/index.js +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36589,7 +36589,7 @@ async function fetchGLMCodingModels() {
|
|
|
36589
36589
|
return [];
|
|
36590
36590
|
}
|
|
36591
36591
|
}
|
|
36592
|
-
var __filename4, __dirname4, VERSION = "5.
|
|
36592
|
+
var __filename4, __dirname4, VERSION = "5.17.0", CACHE_MAX_AGE_DAYS2 = 2, CLAUDISH_CACHE_DIR2, BUNDLED_MODELS_PATH, CACHED_MODELS_PATH, ALL_MODELS_JSON_PATH;
|
|
36593
36593
|
var init_cli = __esm(() => {
|
|
36594
36594
|
init_config();
|
|
36595
36595
|
init_model_loader();
|
|
@@ -99821,7 +99821,13 @@ var init_diag_output = __esm(() => {
|
|
|
99821
99821
|
}
|
|
99822
99822
|
openTmuxPane() {
|
|
99823
99823
|
try {
|
|
99824
|
-
const
|
|
99824
|
+
const targetPane = process.env.TMUX_PANE || "";
|
|
99825
|
+
const args = ["split-window", "-v", "-l", "5", "-d", "-P", "-F", "#{pane_id}"];
|
|
99826
|
+
if (targetPane) {
|
|
99827
|
+
args.push("-t", targetPane);
|
|
99828
|
+
}
|
|
99829
|
+
args.push("tail", "-f", this.logPath);
|
|
99830
|
+
const output = execFileSync("tmux", args, { encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] });
|
|
99825
99831
|
this.paneId = output.trim();
|
|
99826
99832
|
} catch {
|
|
99827
99833
|
this.paneId = null;
|