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.1 KB
Raw Blame
export type ChannelProviderId = "telegram" | "discord";
export type ChannelCredential = {
  user: string;
  userLabel: string;
  id: string;
  label: string;
  provider: ChannelProviderId;
  state: string;
  missing: string[];
  verifiedAt?: number | null;
};
export type ChannelView = {
  id: string;
  name: string;
  provider: ChannelProviderId;
  credential: { user: string; connection: string };
  enabled: boolean;
  defaultTarget?: string;
  workflowId?: string;
  agentGroupId?: string;
  createdAt: string;
  updatedAt: string;
  lastCheck?: { at: string; ok: boolean; detail: string };
  lastActivityAt?: string;
  connection?: { state?: string; error?: string; label?: string };
  capabilities: { inbound: "webhook" | "interactions"; notes: string };
};
export type ChannelsSnapshot = {
  version: 1;
  revision: number;
  channels: ChannelView[];
  credentials: ChannelCredential[];
  providers: Array<{ id: ChannelProviderId; title: string; notes: string }>;
};
export type WorkflowOption = {
  id: string;
  name: string;
  status: string;
  nodes: Array<{ type: string; config: Record<string, unknown> }>;
};