From 713eb898f6d7f4ddbe5f3aa5b2d382b8cece3ea5 Mon Sep 17 00:00:00 2001 From: "Luke K (pr-0f3t)" <2609441+lc0rp@users.noreply.github.com> Date: Thu, 8 Jan 2026 10:41:09 -0500 Subject: [PATCH] Removed compact command changes from elsewhere --- src/auto-reply/commands-registry.test.ts | 3 --- src/auto-reply/commands-registry.ts | 8 -------- src/auto-reply/status.test.ts | 6 ------ 3 files changed, 17 deletions(-) diff --git a/src/auto-reply/commands-registry.test.ts b/src/auto-reply/commands-registry.test.ts index ca17e4913..cdb83cd76 100644 --- a/src/auto-reply/commands-registry.test.ts +++ b/src/auto-reply/commands-registry.test.ts @@ -17,7 +17,6 @@ describe("commands registry", () => { const specs = listNativeCommandSpecs(); expect(specs.find((spec) => spec.name === "help")).toBeTruthy(); expect(specs.find((spec) => spec.name === "stop")).toBeTruthy(); - expect(specs.find((spec) => spec.name === "compact")).toBeFalsy(); }); it("detects known text commands", () => { @@ -26,8 +25,6 @@ describe("commands registry", () => { expect(detection.exact.has("/commands")).toBe(true); expect(detection.regex.test("/status")).toBe(true); expect(detection.regex.test("/status:")).toBe(true); - expect(detection.regex.test("/compact")).toBe(true); - expect(detection.regex.test("/compact:")).toBe(true); expect(detection.regex.test("/stop")).toBe(true); expect(detection.regex.test("/send:")).toBe(true); expect(detection.regex.test("try /status")).toBe(false); diff --git a/src/auto-reply/commands-registry.ts b/src/auto-reply/commands-registry.ts index 5e252f0b7..1f950083f 100644 --- a/src/auto-reply/commands-registry.ts +++ b/src/auto-reply/commands-registry.ts @@ -72,14 +72,6 @@ const CHAT_COMMANDS: ChatCommandDefinition[] = [ description: "Start a new session.", textAliases: ["/new"], }, - { - key: "compact", - nativeName: "compact", - description: "Compact the current session context.", - textAliases: ["/compact"], - acceptsArgs: true, - supportsNative: false, - }, { key: "think", nativeName: "think", diff --git a/src/auto-reply/status.test.ts b/src/auto-reply/status.test.ts index f6d482318..a84a51b7b 100644 --- a/src/auto-reply/status.test.ts +++ b/src/auto-reply/status.test.ts @@ -239,11 +239,5 @@ describe("buildCommandsMessage", () => { it("lists commands with aliases and text-only hints", () => { const text = buildCommandsMessage(); expect(text).toContain("/commands - List all slash commands."); - expect(text).toContain( - "/think (aliases: /thinking, /t) - Set thinking level.", - ); - expect(text).toContain( - "/compact (text-only) - Compact the current session context.", - ); }); });