diff --git a/.env.example b/.env.example index 85a7841..01c389a 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,5 @@ # --------------------------------------------------------------------------- -# AGY Web — sample environment file. +# Smart Organization — sample environment file. # Copy to `.env` and fill in real values. NEVER commit a real `.env`. # Every external provider defaults to `mock` so the stack runs with zero # credentials. Flip the *_PROVIDER vars once real credentials exist. diff --git a/PLAN.md b/PLAN.md index c027be3..b17bdd9 100644 --- a/PLAN.md +++ b/PLAN.md @@ -1,4 +1,4 @@ -# پلن نسخه وب مستقل AGY Bot +# پلن نسخه وب مستقل Smart Organization تاریخ تدوین: 2026-10-12 محل توسعه: `/Users/mamad/Projects/agy-bot/web` @@ -1066,7 +1066,7 @@ web/ 1. محصول جدید مستقل از Telegram Bot فعلی باشد. 2. هیچ فایل اصلی نسخه فعلی در runtime نسخه جدید import نشود. -3. نام مفهومی محصول: AI Workforce Platform یا AGY Web. +3. نام مفهومی محصول: AI Workforce Platform یا Smart Organization. 4. زبان محصولی: کارمند، مدیر، سازمان، پروژه، وظیفه، خروجی؛ نه model، prompt، token برای کاربر عادی. 5. stack پیشنهادی: Next.js/TypeScript + FastAPI/Python + PostgreSQL + Redis. 6. معماری: Modular Monolith با Clean Architecture و Ports/Adapters. diff --git a/README.md b/README.md index 436b766..4de69f4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# AGY Web — پلتفرم نیروی کار هوش مصنوعی +# Smart Organization — پلتفرم نیروی کار هوش مصنوعی نسخهٔ وب مستقل و چندسازمانی محصول. این پروژه **کاملاً جدا از ربات تلگرام** است و هیچ فایلی از ریشهٔ مخزن را در runtime خود import نمی‌کند. diff --git a/TODO.md b/TODO.md index bdf67db..23cd620 100644 --- a/TODO.md +++ b/TODO.md @@ -1,4 +1,4 @@ -# TODO اجرای کامل نسخه وب مستقل AGY +# TODO اجرای کامل نسخه وب مستقل Smart Organization > **وضعیت (به‌روزرسانی نهایی):** پیاده‌سازی کامل شده است. > diff --git a/apps/api/app/__init__.py b/apps/api/app/__init__.py index 275807f..67799be 100644 --- a/apps/api/app/__init__.py +++ b/apps/api/app/__init__.py @@ -1,4 +1,4 @@ -"""AGY Web backend — standalone multi-tenant SaaS. +"""Smart Organization backend — standalone multi-tenant SaaS. Independent of the Telegram bot runtime: nothing outside this package is imported. """ diff --git a/apps/api/app/core/config.py b/apps/api/app/core/config.py index e6c1fca..68c6a50 100644 --- a/apps/api/app/core/config.py +++ b/apps/api/app/core/config.py @@ -38,7 +38,7 @@ class Settings(BaseSettings): # --- app ----------------------------------------------------------------- app_env: str = "development" - app_name: str = "AGY Web" + app_name: str = "Smart Organization" app_url: str = "http://localhost:3000" api_url: str = "http://localhost:8000" #: Both loopback spellings, on purpose. ``localhost`` and ``127.0.0.1`` are diff --git a/apps/api/package.json b/apps/api/package.json index 7435511..285eaa7 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -2,7 +2,7 @@ "name": "@agy/api", "version": "0.1.0", "private": true, - "description": "AGY Web backend — FastAPI + SQLAlchemy, Clean/Hexagonal architecture.", + "description": "Smart Organization backend — FastAPI + SQLAlchemy, Clean/Hexagonal architecture.", "scripts": { "venv": "python3 -m venv .venv && .venv/bin/python -m pip install --upgrade pip && .venv/bin/python -m pip install -e '.[dev]'", "dev": ".venv/bin/python -m uvicorn app.main:app --reload --host 0.0.0.0 --port 8000", diff --git a/apps/api/pyproject.toml b/apps/api/pyproject.toml index 5c4ba71..a2e7782 100644 --- a/apps/api/pyproject.toml +++ b/apps/api/pyproject.toml @@ -1,7 +1,7 @@ [project] -name = "agy-web-api" +name = "smart-org-api" version = "0.1.0" -description = "AGY Web backend — FastAPI + SQLAlchemy, Clean/Hexagonal architecture." +description = "Smart Organization backend — FastAPI + SQLAlchemy, Clean/Hexagonal architecture." requires-python = ">=3.12" dependencies = [ "fastapi>=0.115.0", diff --git a/apps/web/package.json b/apps/web/package.json index 3698ea2..bd359ad 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -2,7 +2,7 @@ "name": "@agy/web", "version": "0.1.0", "private": true, - "description": "AGY Web frontend — Next.js App Router, RTL, dark-first.", + "description": "Smart Organization frontend — Next.js App Router, RTL, dark-first.", "scripts": { "dev": "next dev -p 3000", "build": "next build", diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index f23b7dc..8f60dd9 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -3,7 +3,7 @@ import "./globals.css"; import { SessionProvider } from "@/lib/session"; export const metadata: Metadata = { - title: "AGY Web — پلتفرم نیروی کار هوش مصنوعی", + title: "Smart Organization — پلتفرم نیروی کار هوش مصنوعی", description: "سازمان بسازید، کارمند هوش مصنوعی استخدام کنید و کارها را بسپارید.", }; diff --git a/apps/web/src/app/login/page.tsx b/apps/web/src/app/login/page.tsx index 2090647..8d415d6 100644 --- a/apps/web/src/app/login/page.tsx +++ b/apps/web/src/app/login/page.tsx @@ -36,7 +36,7 @@ export default function LoginPage() { return (
- ورود به AGY Web + ورود به Smart Organization با ایمیل و رمز عبور خود وارد شوید.
diff --git a/apps/web/src/components/AppShell.tsx b/apps/web/src/components/AppShell.tsx index 9b1069d..ccb692c 100644 --- a/apps/web/src/components/AppShell.tsx +++ b/apps/web/src/components/AppShell.tsx @@ -141,9 +141,9 @@ export function AppShell({ children }: { children: React.ReactNode }) {