vault backup: 2026-01-07 18:02:26
This commit is contained in:
Vendored
+8
@@ -22248,6 +22248,7 @@ function findClaudeCLIPath() {
|
||||
// Native binary paths (preferred)
|
||||
path2.join(homeDir, ".claude", "local", "claude"),
|
||||
path2.join(homeDir, ".local", "bin", "claude"),
|
||||
path2.join(homeDir, ".bun", "bin", "claude"),
|
||||
"/usr/local/bin/claude",
|
||||
"/opt/homebrew/bin/claude",
|
||||
path2.join(homeDir, "bin", "claude"),
|
||||
@@ -34902,6 +34903,13 @@ ${content}
|
||||
|
||||
${promptToSend}`;
|
||||
}
|
||||
// --- Claude Code SDK /compact passthrough ---
|
||||
const trimmedInput = (content || "").trimStart();
|
||||
if (/^\/(compact|comact)(\s|$)/.test(trimmedInput)) {
|
||||
promptToSend = trimmedInput.replace(/^\/comact(\s|$)/, "/compact$1");
|
||||
}
|
||||
// --- end passthrough ---
|
||||
|
||||
fileContextManager == null ? void 0 : fileContextManager.markCurrentNoteSent();
|
||||
const userMsg = {
|
||||
id: this.deps.generateId(),
|
||||
|
||||
Reference in New Issue
Block a user