gaza/src/fixtures/index.ts
Ubuntu fbcc342c5f 定义标准协议 TypeScript 数据模型
Co-authored-by: multica-agent <github@multica.ai>
2026-08-03 19:05:26 +00:00

19 lines
527 B
TypeScript

import type { Session } from "../protocol.js";
/** UI 迁移期可直接使用的最小 Session fixture。 */
export const demoSession = {
server_id: "demo-server",
project_id: "demo-project",
session_id: "demo-session",
name: "演示会话",
state: "ONLINE",
hostname: "demo-host",
username: "operator",
os: "linux",
architecture: "amd64",
first_seen_at: "2026-08-03T00:00:00Z",
last_active_at: "2026-08-03T00:00:05Z",
tags: ["fixture"],
capabilities: ["session.overview"],
} as unknown as Session;