Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

341 B
Raw Blame
import { abortA2AActiveTask } from "./task-active";
import { taskPublicView, updateA2ATask } from "./task-store";

export async function cancelA2AActiveTask(id: string, principal: string) {
  abortA2AActiveTask(id);
  const task = await updateA2ATask(id, principal, {
    state: "TASK_STATE_CANCELED",
  });
  return taskPublicView(task);
}