一键导入
infrastructure
Flightdeck infrastructure reference. Covers monorepo structure, build system, database setup, environment config, and deployment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Flightdeck infrastructure reference. Covers monorepo structure, build system, database setup, environment config, and deployment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
How the multi-backend adapter system works — AgentAdapter interface, ACP protocol, session resume, and how to add new provider adapters
When debugging why an agent has the wrong provider/model, or when modifying agent creation or delegation flows.
How to get agents to use group chats for peer coordination in flightdeck-based crews. Covers hub-and-spoke anti-pattern, auto-grouping triggers, and file-lock-linked groups. Use when setting up multi-agent crews with 3+ agents or diagnosing why agents aren't collaborating directly.
When fetching from the `/coordination/activity` API and you only need specific action types (e.g., `progress_update`, `task_completed`, `delegated`).
When fetching activity data for UI display, or debugging why activity-based features show empty/stale data.
Architecture decisions and patterns from Flightdeck development (Phases 2–4). Covers feature architecture, state management, component patterns, and API design.
| name | infrastructure |
| description | Flightdeck infrastructure reference. Covers monorepo structure, build system, database setup, environment config, and deployment. |
packages/
server/ — Express backend + SQLite + WebSocket
web/ — React frontend (Vite + Tailwind)
docs/ — VitePress documentation site
All packages share tsconfig.base.json at the repo root.
tsx.SERVER_PORT environment variable (default: 3006).AUTH=none to disable authentication.npm run dev # From repo root
# → runs scripts/dev.mjs
# → starts server first, then Vite dev server
:5173 — proxies /api/* requests to the server port.:5173 in development (not the server port directly).cd packages/web
npx vitest run # Run all tests
npx vitest run src/path/to/test # Run specific test file
jsdom environment — add // @vitest-environment jsdom comment at top of test file if not using the global config.CatchUpBanner, MentionText.npm run build # Build all packages
cd packages/web && npx vite build # Frontend only
cd packages/web && npx tsc --noEmit # Type check only
flightdeck.db in repo root.packages/server/src/db/.| Variable | Purpose | Default |
|---|---|---|
SERVER_PORT | Express server port | 3006 |
AUTH | Auth mode (none to disable) | token-based |
NODE_ENV | Environment | development |
cd packages/web && npx vitest runcd packages/server && npx vitest run// @vitest-environment jsdom directive at top of test files that use DOM APIs.<Link> from react-router-dom, wrap test renders in <MemoryRouter>.react-virtuoso components, mock Virtuoso to render all items (jsdom can't measure layout).npm run build # Build all packages from root
npm test # Run all tests
packages/web/dist/public/fonts/ to dist/fonts/ automatically by Vite.