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.3 KB
Raw Blame
// Shared forensic action contract; persistence lives in lib/host/audit.
export type AuditAction =
  | "exec.run"
  | "exec.blocked"
  | "exec.job.start"
  | "exec.job.cancel"
  | "term.open"
  | "term.write"
  | "term.close"
  | "fs.read"
  | "fs.write"
  | "fs.delete"
  | "fs.move"
  | "fs.copy"
  | "fs.mkdir"
  | "fs.upload"
  | "fs.zip"
  | "sys.cleanup"
  | "sys.memory-backup"
  | "sys.service"
  /** The cockpit replacing its own code (Settings → Update MSO, or `mso update run`). */
  | "sys.update"
  | "managed-app.action"
  | "infra.write"
  | "camoufox.power"
  | "workflow.start"
  | "workflow.cancel"
  | "workflow.finish"
  | "agent.session"
  | "agent.organization"
  | "agent.message"
  | "agent.subagent"
  | "agent.memory"
  | "tool.forge.propose"
  | "tool.forge.evaluate"
  | "tool.forge.promote"
  | "a2a.registry"
  | "a2a.credential"
  | "a2a.inbound"
  | "a2a.task"
  | "a2a.send"
  | "a2a.cancel"
  /** An MCP token asked for a tool above its scope. Not an error — it is the
   *  signal that matters: a `read` connector repeatedly reaching for `exec_run`
   *  is what a prompt-injected model looks like from the outside. */
  | "mcp.denied"
  | "auth.login"
  | "auth.pending"
  | "auth.denied"
  | "auth.ratelimited"
  | "auth.logout"
  | "auth.device"
  | "auth.account"
  | "auth.password"
  | "framework.error";