From 75fca493e58a42a7b39da151bde5061e96f05b52 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Fri, 26 Sep 2025 12:15:45 -0700 Subject: [PATCH] names --- app/src/shell.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/shell.ts b/app/src/shell.ts index aba5e05..2b363bb 100644 --- a/app/src/shell.ts +++ b/app/src/shell.ts @@ -11,7 +11,7 @@ import { ALS } from "./session" const sessions: Map = new Map() -export async function runCommand(session: string, id: string, input: string): Promise { +export async function runCommand(sessionId: string, taskId: string, input: string): Promise { const [cmd = "", ...args] = input.split(" ") if (!commandExists(cmd)) { @@ -20,7 +20,7 @@ export async function runCommand(session: string, id: string, input: string): Pr let status: "ok" | "error" = "ok" let output: CommandOutput = "" - const state = getState(session, id) + const state = getState(sessionId, taskId) try { [status, output] = await ALS.run(state, async () => await exec(cmd, args))