Skip to content

Commit 6a862b0

Browse files
committed
Investigate hack projects mux issue
1 parent 67720dc commit 6a862b0

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

src/commands/setup.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ type SetupAgentsArgs = CommandArgs<typeof setupAgentsOptions, readonly []>;
161161
type SetupSyncArgs = CommandArgs<typeof setupSyncOptions, readonly []>;
162162
type SetupMcpArgs = CommandArgs<typeof setupMcpOptions, readonly []>;
163163

164+
type SetupMultiLogResult = {
165+
readonly status: string;
166+
readonly path?: string;
167+
readonly message?: string;
168+
};
169+
164170
const tmuxSpec = defineCommand({
165171
name: "tmux",
166172
summary: "Configure tmux keybinding for hack session picker",
@@ -695,8 +701,8 @@ async function handleSetupSync({
695701
let claudeResult: Awaited<ReturnType<typeof checkClaudeHooks>>;
696702
let codexResult: Awaited<ReturnType<typeof checkCodexSkill>>;
697703
let ticketsResult: Awaited<ReturnType<typeof checkTicketsSkill>>;
698-
let mcpResults: Awaited<ReturnType<typeof checkMcpConfig>>;
699-
let docsResults: Awaited<ReturnType<typeof checkAgentDocs>>;
704+
let mcpResults: SetupMultiLogResult[];
705+
let docsResults: SetupMultiLogResult[];
700706

701707
if (action === "check") {
702708
cursorResult = await checkCursorRules({ scope: "project", projectRoot });
@@ -794,7 +800,7 @@ async function handleSetupSync({
794800
let claudeResult: Awaited<ReturnType<typeof checkClaudeHooks>>;
795801
let codexResult: Awaited<ReturnType<typeof checkCodexSkill>>;
796802
let ticketsResult: Awaited<ReturnType<typeof checkTicketsSkill>>;
797-
let mcpResults: Awaited<ReturnType<typeof checkMcpConfig>>;
803+
let mcpResults: SetupMultiLogResult[];
798804

799805
if (action === "check") {
800806
cursorResult = await checkCursorRules({ scope: "user" });

0 commit comments

Comments
 (0)