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.

1.0 KB
Raw Blame
export type AgentGroupMemberTelegram = {
  user: string;
  connection: string;
  target: string;
};

export type AgentGroupMember = {
  id: string;
  name: string;
  profile: string;
  telegram?: AgentGroupMemberTelegram;
};

export type AgentGroupRecord = {
  id: string;
  name: string;
  members: AgentGroupMember[];
  maxRounds: number;
  enabled: boolean;
  createdAt: string;
  updatedAt: string;
};

export type AgentGroupTurn = {
  round: number;
  memberId: string;
  name: string;
  profile: string;
  text: string;
  at: string;
  error?: string;
};

export type AgentGroupRunState = "running" | "completed" | "failed" | "stopped";

export type AgentGroupRun = {
  id: string;
  groupId: string;
  prompt: string;
  turns: AgentGroupTurn[];
  state: AgentGroupRunState;
  error?: string;
  startedAt: string;
  updatedAt: string;
};

export type AgentGroupState = {
  version: 1;
  revision: number;
  groups: AgentGroupRecord[];
  runs: AgentGroupRun[];
};

export type AgentGroupView = AgentGroupRecord & {
  runs: AgentGroupRun[];
};