From 8b8c39a4952d845e82728a9074855b5f317cd322 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 27 May 2026 11:45:38 +0800 Subject: [PATCH] chore: align repository identity with yedir-ai --- .github/ISSUE_TEMPLATE/config.yml | 6 +++--- lib/db/schema.ts | 8 ++++---- package.json | 3 +-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 3ef5e43b8..8d8c41fce 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,11 @@ blank_issues_enabled: false contact_links: - name: Security vulnerability - url: https://github.com/lanmu1818-ship-it/ai-chatbot/blob/main/SECURITY.md + url: https://github.com/lanmu1818-ship-it/yedir-ai/blob/main/SECURITY.md about: Do not open public issues for vulnerabilities. Follow SECURITY.md and report privately to the project maintainer. - name: Release readiness and contribution rules - url: https://github.com/lanmu1818-ship-it/ai-chatbot/blob/main/CONTRIBUTING.md + url: https://github.com/lanmu1818-ship-it/yedir-ai/blob/main/CONTRIBUTING.md about: Read docs/release-readiness.md and CONTRIBUTING.md before opening broad engineering requests. - name: Support and operations help - url: https://github.com/lanmu1818-ship-it/ai-chatbot/blob/main/SUPPORT.md + url: https://github.com/lanmu1818-ship-it/yedir-ai/blob/main/SUPPORT.md about: Read SUPPORT.md for bug, feature, deployment, operations, and security support boundaries. diff --git a/lib/db/schema.ts b/lib/db/schema.ts index ef2063801..bb9419816 100644 --- a/lib/db/schema.ts +++ b/lib/db/schema.ts @@ -96,8 +96,8 @@ export const chat = pgTable("Chat", { export type Chat = InferSelectModel; -// DEPRECATED: The following schema is deprecated and will be removed in the future. -// Read the migration guide at https://chat-sdk.dev/docs/migration-guides/message-parts +// DEPRECATED: Legacy message storage kept for historical data migration. +// New internal generation flows use Message_v2 parts and attachments. export const messageDeprecated = pgTable("Message", { id: uuid("id").primaryKey().notNull().defaultRandom(), chatId: uuid("chatId") @@ -129,8 +129,8 @@ export const message = pgTable("Message_v2", { export type DBMessage = InferSelectModel; -// DEPRECATED: The following schema is deprecated and will be removed in the future. -// Read the migration guide at https://chat-sdk.dev/docs/migration-guides/message-parts +// DEPRECATED: Legacy vote storage tied to the historical Message table. +// New vote records reference Message_v2 through vote. export const voteDeprecated = pgTable( "Vote", { diff --git a/package.json b/package.json index bf57f07b9..120b72d38 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "ai-chatbot", + "name": "yedir-ai", "version": "3.1.0", "private": true, "scripts": { @@ -8,7 +8,6 @@ "prebuild": "node scripts/security/auto-enable-perf-guard.mjs", "build": "tsx lib/db/migrate && next build", "postbuild": "find .next/static -type f -name '*.map' -delete 2>/dev/null || true", - "build:skip-prerender": "tsx lib/db/migrate && next build --no-lint || (echo 'Build with errors, creating fallback...' && mkdir -p .next && echo '{}' > .next/prerender-manifest.json && echo 'Build fallback created')", "start": "next start", "lint": "npx ultracite@latest check", "check:logs": "node scripts/check-log-hygiene.mjs && tsx scripts/check-log-redaction.ts",