From cd63f328abbabbf0c6c83bcccf05668b7ccb9f99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=A0=91=E8=90=8C=E8=8A=BD?= <3205788256@qq.com>
Date: Wed, 18 Mar 2026 22:00:41 +0800
Subject: [PATCH] chore: sync
---
AGENTS.md | 38 +
mengyaconnect-frontend/.env.development | 5 +
mengyaconnect-frontend/.env.production | 6 +-
mengyaconnect-frontend/index.html | 278 +-
mengyaconnect-frontend/package-lock.json | 4919 ++++++++++++++++-
mengyaconnect-frontend/package.json | 3 +-
mengyaconnect-frontend/public/favicon.ico | Bin 0 -> 104594 bytes
mengyaconnect-frontend/public/logo.png | Bin 0 -> 5271412 bytes
mengyaconnect-frontend/public/logo192.png | Bin 0 -> 45276 bytes
mengyaconnect-frontend/public/logo512.png | Bin 0 -> 369565 bytes
.../public/rounded-image (2).png | Bin 0 -> 3931747 bytes
mengyaconnect-frontend/src/App.vue | 158 +-
mengyaconnect-frontend/src/main.js | 3 +
mengyaconnect-frontend/vite.config.js | 31 +-
14 files changed, 5431 insertions(+), 10 deletions(-)
create mode 100644 AGENTS.md
create mode 100644 mengyaconnect-frontend/.env.development
create mode 100644 mengyaconnect-frontend/public/favicon.ico
create mode 100644 mengyaconnect-frontend/public/logo.png
create mode 100644 mengyaconnect-frontend/public/logo192.png
create mode 100644 mengyaconnect-frontend/public/logo512.png
create mode 100644 mengyaconnect-frontend/public/rounded-image (2).png
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000..6c39197
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,38 @@
+# Repository Guidelines
+
+## Project Structure & Module Organization
+- `mengyaconnect-backend/` Go (Gin) HTTP + WebSocket SSH bridge. Most logic in `main.go`; config helpers in `config.go`. Persistent data under `data/` (`data/ssh/*.json`, `data/command/command.json`, `data/script/`).
+- `mengyaconnect-frontend/` Vite + Vue 3 SPA. Entry at `index.html`; UI in `src/App.vue`; build output in `dist/`.
+- `debug-logs/` local logs, not part of app runtime.
+
+## Build, Test, and Development Commands
+Backend:
+- `cd mengyaconnect-backend && go run .` Run API server (default `:8080`).
+- `go build -o mengyaconnect-backend` Build local binary.
+- `go fmt ./...` Format Go code.
+- `go test ./...` Run Go tests (if present).
+
+Frontend:
+- `cd mengyaconnect-frontend && npm install` Install dependencies.
+- `npm run dev` Start Vite dev server (`http://localhost:5173`).
+- `npm run build` Build production assets to `dist/`.
+- `npm run preview` Preview the production build.
+
+Optional container:
+- `cd mengyaconnect-backend && docker-compose up --build` Run backend in Docker (host `2431` -> container `8080`).
+
+## Coding Style & Naming Conventions
+- Go: follow `gofmt` output; prefer `camelCase` for unexported identifiers and `PascalCase` for exported ones.
+- Vue: keep 2-space indentation, double quotes, and semicolons as used in `src/App.vue`. Use `