chore: align repository identity with yedir-ai

This commit is contained in:
Your Name 2026-05-27 11:45:38 +08:00
parent a3d7ea91b0
commit 8b8c39a495
3 changed files with 8 additions and 9 deletions

View File

@ -1,11 +1,11 @@
blank_issues_enabled: false blank_issues_enabled: false
contact_links: contact_links:
- name: Security vulnerability - 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. about: Do not open public issues for vulnerabilities. Follow SECURITY.md and report privately to the project maintainer.
- name: Release readiness and contribution rules - 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. about: Read docs/release-readiness.md and CONTRIBUTING.md before opening broad engineering requests.
- name: Support and operations help - 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. about: Read SUPPORT.md for bug, feature, deployment, operations, and security support boundaries.

View File

@ -96,8 +96,8 @@ export const chat = pgTable("Chat", {
export type Chat = InferSelectModel<typeof chat>; export type Chat = InferSelectModel<typeof chat>;
// DEPRECATED: The following schema is deprecated and will be removed in the future. // DEPRECATED: Legacy message storage kept for historical data migration.
// Read the migration guide at https://chat-sdk.dev/docs/migration-guides/message-parts // New internal generation flows use Message_v2 parts and attachments.
export const messageDeprecated = pgTable("Message", { export const messageDeprecated = pgTable("Message", {
id: uuid("id").primaryKey().notNull().defaultRandom(), id: uuid("id").primaryKey().notNull().defaultRandom(),
chatId: uuid("chatId") chatId: uuid("chatId")
@ -129,8 +129,8 @@ export const message = pgTable("Message_v2", {
export type DBMessage = InferSelectModel<typeof message>; export type DBMessage = InferSelectModel<typeof message>;
// DEPRECATED: The following schema is deprecated and will be removed in the future. // DEPRECATED: Legacy vote storage tied to the historical Message table.
// Read the migration guide at https://chat-sdk.dev/docs/migration-guides/message-parts // New vote records reference Message_v2 through vote.
export const voteDeprecated = pgTable( export const voteDeprecated = pgTable(
"Vote", "Vote",
{ {

View File

@ -1,5 +1,5 @@
{ {
"name": "ai-chatbot", "name": "yedir-ai",
"version": "3.1.0", "version": "3.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
@ -8,7 +8,6 @@
"prebuild": "node scripts/security/auto-enable-perf-guard.mjs", "prebuild": "node scripts/security/auto-enable-perf-guard.mjs",
"build": "tsx lib/db/migrate && next build", "build": "tsx lib/db/migrate && next build",
"postbuild": "find .next/static -type f -name '*.map' -delete 2>/dev/null || true", "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", "start": "next start",
"lint": "npx ultracite@latest check", "lint": "npx ultracite@latest check",
"check:logs": "node scripts/check-log-hygiene.mjs && tsx scripts/check-log-redaction.ts", "check:logs": "node scripts/check-log-hygiene.mjs && tsx scripts/check-log-redaction.ts",