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.

799 B
Raw Blame
// Shared shape for agent-created demo logins. A demo user is NOT an API credential:
// it models a throwaway login for a site the owner asked MSO to test.
//
// `password` is a secret. Only the agent-side record read and the human reveal path
// may return it; every list/summary result carries `hasPassword` instead.
export type DemoCredentialRecord = {
  id: string;
  /** Credential owner resolved from the workspace folder binding. */
  owner: string;
  /** Canonical bound folder path that scopes this demo user. */
  workspace: string;
  email: string;
  password: string;
  label?: string;
  site?: string;
  notes?: string;
  createdAt: number;
  updatedAt: number;
  revision: number;
};

export type DemoCredentialSummary = Omit<DemoCredentialRecord, "password"> & { hasPassword: true };