diff --git a/apps/web/app/(app)/actions.ts b/apps/web/app/(app)/actions.ts
index 65e9ed3b..962947dc 100644
--- a/apps/web/app/(app)/actions.ts
+++ b/apps/web/app/(app)/actions.ts
@@ -418,6 +418,17 @@ export async function removeProjectMember(f: FormData) {
});
}
+/** PEP-100: the pairing link for the client to open in a new tab — Peppa stays where it is. */
+export async function pairingLinkAction(): Promise<{ url?: string; error?: string }> {
+ const user = asWebActor(await requireUser());
+ const token = loadEnv().TELEGRAM_BOT_TOKEN;
+ // Every user has their own bot: no pairing link through the shared one.
+ const username = user.telegramBotUsername;
+ if (!username) return { error: "Сначала подключите своего бота (шаги 1–2)" };
+ if (!token) return { error: "Telegram-сервис Пеппы не запущен" };
+ return { url: `https://t.me/${username}?start=${await createPairingCode(db, token, user.id)}` };
+}
+
export async function pairTelegram(f: FormData) {
const user = asWebActor(await requireUser());
await attempt(f, async () => {
diff --git a/apps/web/app/(app)/hosts/page.tsx b/apps/web/app/(app)/hosts/page.tsx
index bf81723d..b162344b 100644
--- a/apps/web/app/(app)/hosts/page.tsx
+++ b/apps/web/app/(app)/hosts/page.tsx
@@ -13,7 +13,7 @@ import { requireUser } from "@/lib/auth";
import { db } from "@/lib/db";
import { addHostAction, checkHostAction, deleteHostAction, toggleHostAction, updateHostAction } from "./actions";
-export const metadata = { title: "Хосты — Пеппа" };
+export const metadata = { title: "Хосты — Peppa FACTORY" };
function StatusOf({ h }: { h: RunnerHostView }) {
if (h.disabledAt) return отключён;
diff --git a/apps/web/app/(app)/p/[key]/tabs.tsx b/apps/web/app/(app)/p/[key]/tabs.tsx
index bcf057be..b71fc070 100644
--- a/apps/web/app/(app)/p/[key]/tabs.tsx
+++ b/apps/web/app/(app)/p/[key]/tabs.tsx
@@ -298,7 +298,7 @@ export function AgentsMdTab({ projectId, projectKey, md, edit, saved }: { projec
const AGENTS_MD_STARTER = `# AGENTS.md
-Проект ведётся софтвейр-фабрикой **Пеппа**. Общие правила (OpenSpec, PR, ревью) агент получает от Пеппы;
+Проект ведётся на **Peppa FACTORY**. Общие правила (OpenSpec, PR, ревью) агент получает от Пеппы;
здесь — только стандарты этого проекта.
## Стек и команды
diff --git a/apps/web/app/(app)/platform/page.tsx b/apps/web/app/(app)/platform/page.tsx
index 8865e0cf..977be1d4 100644
--- a/apps/web/app/(app)/platform/page.tsx
+++ b/apps/web/app/(app)/platform/page.tsx
@@ -11,7 +11,7 @@ import { requireUser } from "@/lib/auth";
import { db } from "@/lib/db";
import { checkChannelAction, saveChannelAction, saveChannelSettingsAction, sendDigestNowAction } from "./actions";
-export const metadata = { title: "Платформа — Пеппа" };
+export const metadata = { title: "Платформа — Peppa FACTORY" };
/** Telegram HTML of the digest → plain text for the preview. */
const plain = (html: string) => html.replace(/<[^>]+>/g, "").replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
diff --git a/apps/web/app/(app)/projects/new/page.tsx b/apps/web/app/(app)/projects/new/page.tsx
index 40e4b445..9263044a 100644
--- a/apps/web/app/(app)/projects/new/page.tsx
+++ b/apps/web/app/(app)/projects/new/page.tsx
@@ -3,7 +3,8 @@ import { loadEnv } from "@peppa/shared";
import { Flash, PageHeader } from "@/components/common";
import { Hidden } from "@/components/cards";
import { Button } from "@/components/ui/button";
-import { Input, Label, NativeSelect } from "@/components/ui/input";
+import { Label, NativeSelect } from "@/components/ui/input";
+import { ProjectBasics } from "@/components/ProjectBasics";
import { Workspace } from "@/components/Workspace";
import { requireUser } from "@/lib/auth";
import { db } from "@/lib/db";
@@ -37,61 +38,38 @@ export default async function NewProject({ searchParams }: { searchParams: Promi
return (
-
+ Проект — это ваш продукт. Создайте его, а потом описывайте задачи словами: агенты будут их делать.
diff --git a/apps/web/app/(app)/secrets/page.tsx b/apps/web/app/(app)/secrets/page.tsx
index d87e1aef..846e3dc5 100644
--- a/apps/web/app/(app)/secrets/page.tsx
+++ b/apps/web/app/(app)/secrets/page.tsx
@@ -11,7 +11,7 @@ import { requireUser } from "@/lib/auth";
import { db } from "@/lib/db";
import { checkGiteaTokenAction, markSecretRotatedAction, reencryptSecretsAction, revokeClientTokensAction } from "../actions";
-export const metadata = { title: "Секреты — Пеппа" };
+export const metadata = { title: "Секреты — Peppa FACTORY" };
type Params = { error?: string; reencrypted?: string; unreadable?: string; revoked?: string; gitea?: string };
diff --git a/apps/web/app/(app)/settings/page.tsx b/apps/web/app/(app)/settings/page.tsx
index 70d86853..d32d7f99 100644
--- a/apps/web/app/(app)/settings/page.tsx
+++ b/apps/web/app/(app)/settings/page.tsx
@@ -157,10 +157,12 @@ export default async function Settings({ searchParams }: { searchParams: Promise
) : (
ownBotSteps
)}
+ {/* PEP-100: every user has their own bot — someone still on the shared one is asked to switch. */}
{user.telegramChatId && !hasBot && (
-
-
{ownBotSteps}
-
+ <>
+ Сейчас сообщения приходят от общего бота Пеппы. Подключите своего бота — так у каждого пользователя свой канал с фабрикой.
+ {ownBotSteps}
+ >
)}
{user.telegramChatId && hasBot && (