Files

1 line
22 KiB
JSON

{"repo": "27241040-max/helpdesk", "files": {"server/.env.example": {"a9847e99951187abfdf1320ef78a7ab6e6409d40": {"t": 1785745187.3182166, "n": 1897, "h": "4e59dc3c758efbdc", "c": "# -------------------------------------------------------------\n# AI Helpdesk Server - Environment Variables Example\n# 请复制此文件并重命名为 .env,然后将下面的假数据替换为你真实的账号凭据\n# 警告: 真正的 .env 包含机密信息,已经被 .gitignore 屏蔽,不要提交它!\n# -------------------------------------------------------------\n\n# --- Server Core (核心服务器) ---\n# Exprses 后端运行的端口号\nPORT=4000\nCLIENT_ORIGIN=\"http://localhost:5173,http://127.0.0.1:5173\"\nSENTRY_DSN=\"\"\nSENTRY_ENVIRONMENT=\"development\"\nSENTRY_RELEASE=\"\"\nSENTRY_TRACES_SAMPLE_RATE=\"0\"\n\n# --- Database (数据库) ---\n# 请将 username, password 替换为你的本地或云端 Postgres 库的真实配置,最后的 helpdesk 是库名\nDATABASE_URL=\"postgresql://username:password@localhost:5432/helpdesk?schema=public\"\n\n# --- Authentication (身份验证) ---\n# Better Auth 使用的服务端 URL 和加密密钥\nBETTER_AUTH_URL=\"http://localhost:4000\"\nBETTER_AUTH_SECRET=\"replace-with-a-random-secret-at-least-32-characters\"\nADMIN_EMAIL=\"admin@example.com\"\nADMIN_PASSWORD=\"qwerdf66\"\nINBOUND_EMAIL_SECRET=\"replace-with-a-long-random-shared-secret\"\nAI_SDK_LOG_WARNINGS=false\n\n# --- AI Integration (人工智能引擎) ---\n# 我们需要用来对客户邮件进行分类、摘要及问答回复的大语言模型 API 密钥\nOPENAI_API_KEY=\"sk-proj-xxxxxxxxxxxxxxxxxxxxxxxx\"\nDEEPSEEK_API_KEY=\"sk-xxxxxxxxxxxxxxxxxxxxxxxx\"\nJINA_API_KEY=\"jina_xxxxxxxxxxxxxxxxxxxxxxxx\"\n# Embedding settings must match the pgvector column dimension in the Prisma schema.\nJINA_EMBEDDING_MODEL=\"jina-embeddings-v5-text-small\"\nJINA_EMBEDDING_DIMENSIONS=1024\n\n# --- Incoming Mail Configuration (IMAP 收取) ---\n# 系统用于持续轮询读取发给该邮箱的求助邮件并转换为工单\nIMAP_HOST=\"imap.gmail.com\"\nIMAP_PORT=993\nIMAP_USER=\"support@yourcompany.com\"\nIMAP_PASSWORD=\"your_app_specific_password\"\n\n# --- Outgoing Mail Configuration (SendGrid 发送) ---\n# 用于 AI 代发或专员(代理)向客户发送的正式邮件回复网关\nSENDGRID_API_KEY=\"SG.xxxxxxxxxxxxxxxxxxxxx\"\nSENDGRID_FROM_EMAIL=\"support@yourcompany.com\"\nSENDGRID_FROM_NAME=\"Code with MasterHong Support\"\nSENDGRID_REPLY_TO_EMAIL=\"support@yourcompany.com\"\nSENDGRID_REPLY_TO_NAME=\"Code with MasterHong Support\"\n"}, "ae97a02beec415bac5a3a8994f13fdc323c5e72a": {"t": 1785748476.9464269, "n": 1897, "h": "4e59dc3c758efbdc", "c": "# -------------------------------------------------------------\n# AI Helpdesk Server - Environment Variables Example\n# 请复制此文件并重命名为 .env,然后将下面的假数据替换为你真实的账号凭据\n# 警告: 真正的 .env 包含机密信息,已经被 .gitignore 屏蔽,不要提交它!\n# -------------------------------------------------------------\n\n# --- Server Core (核心服务器) ---\n# Exprses 后端运行的端口号\nPORT=4000\nCLIENT_ORIGIN=\"http://localhost:5173,http://127.0.0.1:5173\"\nSENTRY_DSN=\"\"\nSENTRY_ENVIRONMENT=\"development\"\nSENTRY_RELEASE=\"\"\nSENTRY_TRACES_SAMPLE_RATE=\"0\"\n\n# --- Database (数据库) ---\n# 请将 username, password 替换为你的本地或云端 Postgres 库的真实配置,最后的 helpdesk 是库名\nDATABASE_URL=\"postgresql://username:password@localhost:5432/helpdesk?schema=public\"\n\n# --- Authentication (身份验证) ---\n# Better Auth 使用的服务端 URL 和加密密钥\nBETTER_AUTH_URL=\"http://localhost:4000\"\nBETTER_AUTH_SECRET=\"replace-with-a-random-secret-at-least-32-characters\"\nADMIN_EMAIL=\"admin@example.com\"\nADMIN_PASSWORD=\"qwerdf66\"\nINBOUND_EMAIL_SECRET=\"replace-with-a-long-random-shared-secret\"\nAI_SDK_LOG_WARNINGS=false\n\n# --- AI Integration (人工智能引擎) ---\n# 我们需要用来对客户邮件进行分类、摘要及问答回复的大语言模型 API 密钥\nOPENAI_API_KEY=\"sk-proj-xxxxxxxxxxxxxxxxxxxxxxxx\"\nDEEPSEEK_API_KEY=\"sk-xxxxxxxxxxxxxxxxxxxxxxxx\"\nJINA_API_KEY=\"jina_xxxxxxxxxxxxxxxxxxxxxxxx\"\n# Embedding settings must match the pgvector column dimension in the Prisma schema.\nJINA_EMBEDDING_MODEL=\"jina-embeddings-v5-text-small\"\nJINA_EMBEDDING_DIMENSIONS=1024\n\n# --- Incoming Mail Configuration (IMAP 收取) ---\n# 系统用于持续轮询读取发给该邮箱的求助邮件并转换为工单\nIMAP_HOST=\"imap.gmail.com\"\nIMAP_PORT=993\nIMAP_USER=\"support@yourcompany.com\"\nIMAP_PASSWORD=\"your_app_specific_password\"\n\n# --- Outgoing Mail Configuration (SendGrid 发送) ---\n# 用于 AI 代发或专员(代理)向客户发送的正式邮件回复网关\nSENDGRID_API_KEY=\"SG.xxxxxxxxxxxxxxxxxxxxx\"\nSENDGRID_FROM_EMAIL=\"support@yourcompany.com\"\nSENDGRID_FROM_NAME=\"Code with MasterHong Support\"\nSENDGRID_REPLY_TO_EMAIL=\"support@yourcompany.com\"\nSENDGRID_REPLY_TO_NAME=\"Code with MasterHong Support\"\n"}, "16490f07408390e504064b75a7b02fc7d11bcf05": {"t": 1785748478.0256975, "n": 1684, "h": "67c2278c8857fa11", "c": "# -------------------------------------------------------------\n# AI Helpdesk Server - Environment Variables Example\n# 请复制此文件并重命名为 .env,然后将下面的假数据替换为你真实的账号凭据\n# 警告: 真正的 .env 包含机密信息,已经被 .gitignore 屏蔽,不要提交它!\n# -------------------------------------------------------------\n\n# --- Server Core (核心服务器) ---\n# Exprses 后端运行的端口号\nPORT=4000\nCLIENT_ORIGIN=\"http://localhost:5173,http://127.0.0.1:5173\"\nSENTRY_DSN=\"\"\nSENTRY_ENVIRONMENT=\"development\"\nSENTRY_RELEASE=\"\"\nSENTRY_TRACES_SAMPLE_RATE=\"0\"\n\n# --- Database (数据库) ---\n# 请将 username, password 替换为你的本地或云端 Postgres 库的真实配置,最后的 helpdesk 是库名\nDATABASE_URL=\"postgresql://username:password@localhost:5432/helpdesk?schema=public\"\n\n# --- Authentication (身份验证) ---\n# Better Auth 使用的服务端 URL 和加密密钥\nBETTER_AUTH_URL=\"http://localhost:4000\"\nBETTER_AUTH_SECRET=\"replace-with-a-random-secret-at-least-32-characters\"\nADMIN_EMAIL=\"admin@example.com\"\nADMIN_PASSWORD=\"qwerdf66\"\nINBOUND_EMAIL_SECRET=\"replace-with-a-long-random-shared-secret\"\nAI_SDK_LOG_WARNINGS=false\n\n# --- AI Integration (人工智能引擎) ---\n# 我们需要用来对客户邮件进行分类、摘要及问答回复的大语言模型 API 密钥\nOPENAI_API_KEY=\"sk-proj-xxxxxxxxxxxxxxxxxxxxxxxx\"\nDEEPSEEK_API_KEY=\"sk-xxxxxxxxxxxxxxxxxxxxxxxx\"\n\n# --- Incoming Mail Configuration (IMAP 收取) ---\n# 系统用于持续轮询读取发给该邮箱的求助邮件并转换为工单\nIMAP_HOST=\"imap.gmail.com\"\nIMAP_PORT=993\nIMAP_USER=\"support@yourcompany.com\"\nIMAP_PASSWORD=\"your_app_specific_password\"\n\n# --- Outgoing Mail Configuration (SendGrid 发送) ---\n# 用于 AI 代发或专员(代理)向客户发送的正式邮件回复网关\nSENDGRID_API_KEY=\"SG.xxxxxxxxxxxxxxxxxxxxx\"\nSENDGRID_FROM_EMAIL=\"support@yourcompany.com\"\nSENDGRID_FROM_NAME=\"Code with MasterHong Support\"\nSENDGRID_REPLY_TO_EMAIL=\"support@yourcompany.com\"\nSENDGRID_REPLY_TO_NAME=\"Code with MasterHong Support\"\n"}, "1d43849ff0d393cd9f0dad0b25f80e799ed2f053": {"t": 1785748480.1738424, "n": 1589, "h": "21eb7860a4db9391", "c": "# -------------------------------------------------------------\n# AI Helpdesk Server - Environment Variables Example\n# 请复制此文件并重命名为 .env,然后将下面的假数据替换为你真实的账号凭据\n# 警告: 真正的 .env 包含机密信息,已经被 .gitignore 屏蔽,不要提交它!\n# -------------------------------------------------------------\n\n# --- Server Core (核心服务器) ---\n# Exprses 后端运行的端口号\nPORT=4000\nCLIENT_ORIGIN=\"http://localhost:5173,http://127.0.0.1:5173\"\n\n# --- Database (数据库) ---\n# 请将 username, password 替换为你的本地或云端 Postgres 库的真实配置,最后的 helpdesk 是库名\nDATABASE_URL=\"postgresql://username:password@localhost:5432/helpdesk?schema=public\"\n\n# --- Authentication (身份验证) ---\n# Better Auth 使用的服务端 URL 和加密密钥\nBETTER_AUTH_URL=\"http://localhost:4000\"\nBETTER_AUTH_SECRET=\"replace-with-a-random-secret-at-least-32-characters\"\nADMIN_EMAIL=\"admin@example.com\"\nADMIN_PASSWORD=\"qwerdf66\"\nINBOUND_EMAIL_SECRET=\"replace-with-a-long-random-shared-secret\"\nAI_SDK_LOG_WARNINGS=false\n\n# --- AI Integration (人工智能引擎) ---\n# 我们需要用来对客户邮件进行分类、摘要及问答回复的大语言模型 API 密钥\nOPENAI_API_KEY=\"sk-proj-xxxxxxxxxxxxxxxxxxxxxxxx\"\nDEEPSEEK_API_KEY=\"sk-xxxxxxxxxxxxxxxxxxxxxxxx\"\n\n# --- Incoming Mail Configuration (IMAP 收取) ---\n# 系统用于持续轮询读取发给该邮箱的求助邮件并转换为工单\nIMAP_HOST=\"imap.gmail.com\"\nIMAP_PORT=993\nIMAP_USER=\"support@yourcompany.com\"\nIMAP_PASSWORD=\"your_app_specific_password\"\n\n# --- Outgoing Mail Configuration (SendGrid 发送) ---\n# 用于 AI 代发或专员(代理)向客户发送的正式邮件回复网关\nSENDGRID_API_KEY=\"SG.xxxxxxxxxxxxxxxxxxxxx\"\nSENDGRID_FROM_EMAIL=\"support@yourcompany.com\"\nSENDGRID_FROM_NAME=\"Code with MasterHong Support\"\nSENDGRID_REPLY_TO_EMAIL=\"support@yourcompany.com\"\nSENDGRID_REPLY_TO_NAME=\"Code with MasterHong Support\"\n"}, "e64e24a990ab63b14faf9a337fd74c4fd4797e98": {"t": 1785748481.2566113, "n": 1461, "h": "ce4ff860b9ea79c7", "c": "# -------------------------------------------------------------\n# AI Helpdesk Server - Environment Variables Example\n# 请复制此文件并重命名为 .env,然后将下面的假数据替换为你真实的账号凭据\n# 警告: 真正的 .env 包含机密信息,已经被 .gitignore 屏蔽,不要提交它!\n# -------------------------------------------------------------\n\n# --- Server Core (核心服务器) ---\n# Exprses 后端运行的端口号\nPORT=4000\nCLIENT_ORIGIN=\"http://localhost:5173,http://127.0.0.1:5173\"\n\n# --- Database (数据库) ---\n# 请将 username, password 替换为你的本地或云端 Postgres 库的真实配置,最后的 helpdesk 是库名\nDATABASE_URL=\"postgresql://username:password@localhost:5432/helpdesk?schema=public\"\n\n# --- Authentication (身份验证) ---\n# Better Auth 使用的服务端 URL 和加密密钥\nBETTER_AUTH_URL=\"http://localhost:4000\"\nBETTER_AUTH_SECRET=\"replace-with-a-random-secret-at-least-32-characters\"\nADMIN_EMAIL=\"admin@example.com\"\nADMIN_PASSWORD=\"qwerdf66\"\nINBOUND_EMAIL_SECRET=\"replace-with-a-long-random-shared-secret\"\nAI_SDK_LOG_WARNINGS=false\n\n# --- AI Integration (人工智能引擎) ---\n# 我们需要用来对客户邮件进行分类、摘要及问答回复的大语言模型 API 密钥\nOPENAI_API_KEY=\"sk-proj-xxxxxxxxxxxxxxxxxxxxxxxx\"\nDEEPSEEK_API_KEY=\"sk-xxxxxxxxxxxxxxxxxxxxxxxx\"\n\n# --- Incoming Mail Configuration (IMAP 收取) ---\n# 系统用于持续轮询读取发给该邮箱的求助邮件并转换为工单\nIMAP_HOST=\"imap.gmail.com\"\nIMAP_PORT=993\nIMAP_USER=\"support@yourcompany.com\"\nIMAP_PASSWORD=\"your_app_specific_password\"\n\n# --- Outgoing Mail Configuration (SMTP 发送) ---\n# 用于 AI 代发或专员(代理)向客户发送的正式邮件回复网关\nSMTP_HOST=\"smtp.gmail.com\"\nSMTP_PORT=587\nSMTP_USER=\"support@yourcompany.com\"\nSMTP_PASSWORD=\"your_app_specific_password\"\n"}, "48b8f367982bc229e9f152afe31387ae9cb89fff": {"t": 1785748482.4845822, "n": 1435, "h": "23d2872298d96a21", "c": "# -------------------------------------------------------------\n# AI Helpdesk Server - Environment Variables Example\n# 请复制此文件并重命名为 .env,然后将下面的假数据替换为你真实的账号凭据\n# 警告: 真正的 .env 包含机密信息,已经被 .gitignore 屏蔽,不要提交它!\n# -------------------------------------------------------------\n\n# --- Server Core (核心服务器) ---\n# Exprses 后端运行的端口号\nPORT=4000\nCLIENT_ORIGIN=\"http://localhost:5173,http://127.0.0.1:5173\"\n\n# --- Database (数据库) ---\n# 请将 username, password 替换为你的本地或云端 Postgres 库的真实配置,最后的 helpdesk 是库名\nDATABASE_URL=\"postgresql://username:password@localhost:5432/helpdesk?schema=public\"\n\n# --- Authentication (身份验证) ---\n# Better Auth 使用的服务端 URL 和加密密钥\nBETTER_AUTH_URL=\"http://localhost:4000\"\nBETTER_AUTH_SECRET=\"replace-with-a-random-secret-at-least-32-characters\"\nADMIN_EMAIL=\"admin@example.com\"\nADMIN_PASSWORD=\"qwerdf66\"\nINBOUND_EMAIL_SECRET=\"replace-with-a-long-random-shared-secret\"\n\n# --- AI Integration (人工智能引擎) ---\n# 我们需要用来对客户邮件进行分类、摘要及问答回复的大语言模型 API 密钥\nOPENAI_API_KEY=\"sk-proj-xxxxxxxxxxxxxxxxxxxxxxxx\"\nDEEPSEEK_API_KEY=\"sk-xxxxxxxxxxxxxxxxxxxxxxxx\"\n\n# --- Incoming Mail Configuration (IMAP 收取) ---\n# 系统用于持续轮询读取发给该邮箱的求助邮件并转换为工单\nIMAP_HOST=\"imap.gmail.com\"\nIMAP_PORT=993\nIMAP_USER=\"support@yourcompany.com\"\nIMAP_PASSWORD=\"your_app_specific_password\"\n\n# --- Outgoing Mail Configuration (SMTP 发送) ---\n# 用于 AI 代发或专员(代理)向客户发送的正式邮件回复网关\nSMTP_HOST=\"smtp.gmail.com\"\nSMTP_PORT=587\nSMTP_USER=\"support@yourcompany.com\"\nSMTP_PASSWORD=\"your_app_specific_password\"\n"}, "97957c670f118a29c3ff6c8e1c8e3c6fc5ae33b4": {"t": 1785748483.5912678, "n": 1388, "h": "8ab97fa8c875fc9c", "c": "# -------------------------------------------------------------\n# AI Helpdesk Server - Environment Variables Example\n# 请复制此文件并重命名为 .env,然后将下面的假数据替换为你真实的账号凭据\n# 警告: 真正的 .env 包含机密信息,已经被 .gitignore 屏蔽,不要提交它!\n# -------------------------------------------------------------\n\n# --- Server Core (核心服务器) ---\n# Exprses 后端运行的端口号\nPORT=4000\nCLIENT_ORIGIN=\"http://localhost:5173,http://127.0.0.1:5173\"\n\n# --- Database (数据库) ---\n# 请将 username, password 替换为你的本地或云端 Postgres 库的真实配置,最后的 helpdesk 是库名\nDATABASE_URL=\"postgresql://username:password@localhost:5432/helpdesk?schema=public\"\n\n# --- Authentication (身份验证) ---\n# Better Auth 使用的服务端 URL 和加密密钥\nBETTER_AUTH_URL=\"http://localhost:4000\"\nBETTER_AUTH_SECRET=\"replace-with-a-random-secret-at-least-32-characters\"\nADMIN_EMAIL=\"admin@example.com\"\nADMIN_PASSWORD=\"qwerdf66\"\nINBOUND_EMAIL_SECRET=\"replace-with-a-long-random-shared-secret\"\n\n# --- AI Integration (人工智能引擎) ---\n# 我们需要用来对客户邮件进行分类、摘要及问答回复的大语言模型 API 密钥\nOPENAI_API_KEY=\"sk-proj-xxxxxxxxxxxxxxxxxxxxxxxx\"\n\n# --- Incoming Mail Configuration (IMAP 收取) ---\n# 系统用于持续轮询读取发给该邮箱的求助邮件并转换为工单\nIMAP_HOST=\"imap.gmail.com\"\nIMAP_PORT=993\nIMAP_USER=\"support@yourcompany.com\"\nIMAP_PASSWORD=\"your_app_specific_password\"\n\n# --- Outgoing Mail Configuration (SMTP 发送) ---\n# 用于 AI 代发或专员(代理)向客户发送的正式邮件回复网关\nSMTP_HOST=\"smtp.gmail.com\"\nSMTP_PORT=587\nSMTP_USER=\"support@yourcompany.com\"\nSMTP_PASSWORD=\"your_app_specific_password\"\n"}, "85c447e7d6939fedbdde4163a80528ab51f13e13": {"t": 1785748484.66289, "n": 1324, "h": "ef3b370dca21bb60", "c": "# -------------------------------------------------------------\n# AI Helpdesk Server - Environment Variables Example\n# 请复制此文件并重命名为 .env,然后将下面的假数据替换为你真实的账号凭据\n# 警告: 真正的 .env 包含机密信息,已经被 .gitignore 屏蔽,不要提交它!\n# -------------------------------------------------------------\n\n# --- Server Core (核心服务器) ---\n# Exprses 后端运行的端口号\nPORT=4000\nCLIENT_ORIGIN=\"http://localhost:5173,http://127.0.0.1:5173\"\n\n# --- Database (数据库) ---\n# 请将 username, password 替换为你的本地或云端 Postgres 库的真实配置,最后的 helpdesk 是库名\nDATABASE_URL=\"postgresql://username:password@localhost:5432/helpdesk?schema=public\"\n\n# --- Authentication (身份验证) ---\n# Better Auth 使用的服务端 URL 和加密密钥\nBETTER_AUTH_URL=\"http://localhost:4000\"\nBETTER_AUTH_SECRET=\"replace-with-a-random-secret-at-least-32-characters\"\nADMIN_EMAIL=\"admin@example.com\"\nADMIN_PASSWORD=\"qwerdf66\"\n\n# --- AI Integration (人工智能引擎) ---\n# 我们需要用来对客户邮件进行分类、摘要及问答回复的大语言模型 API 密钥\nOPENAI_API_KEY=\"sk-proj-xxxxxxxxxxxxxxxxxxxxxxxx\"\n\n# --- Incoming Mail Configuration (IMAP 收取) ---\n# 系统用于持续轮询读取发给该邮箱的求助邮件并转换为工单\nIMAP_HOST=\"imap.gmail.com\"\nIMAP_PORT=993\nIMAP_USER=\"support@yourcompany.com\"\nIMAP_PASSWORD=\"your_app_specific_password\"\n\n# --- Outgoing Mail Configuration (SMTP 发送) ---\n# 用于 AI 代发或专员(代理)向客户发送的正式邮件回复网关\nSMTP_HOST=\"smtp.gmail.com\"\nSMTP_PORT=587\nSMTP_USER=\"support@yourcompany.com\"\nSMTP_PASSWORD=\"your_app_specific_password\"\n"}, "f8c724d97fdd5f21148ef1c4256fdc844c0bd638": {"t": 1785748485.7183638, "n": 1327, "h": "7591962938f8fbb0", "c": "# -------------------------------------------------------------\n# AI Helpdesk Server - Environment Variables Example\n# 请复制此文件并重命名为 .env,然后将下面的假数据替换为你真实的账号凭据\n# 警告: 真正的 .env 包含机密信息,已经被 .gitignore 屏蔽,不要提交它!\n# -------------------------------------------------------------\n\n# --- Server Core (核心服务器) ---\n# Exprses 后端运行的端口号\nPORT=4000\nCLIENT_ORIGIN=\"http://localhost:5173,http://127.0.0.1:5173\"\n\n# --- Database (数据库) ---\n# 请将 username, password 替换为你的本地或云端 Postgres 库的真实配置,最后的 helpdesk 是库名\nDATABASE_URL=\"postgresql://username:password@localhost:5432/helpdesk?schema=public\"\n\n# --- Authentication (身份验证) ---\n# Better Auth 使用的服务端 URL 和加密密钥\nBETTER_AUTH_URL=\"http://localhost:4000\"\nBETTER_AUTH_SECRET=\"replace-with-a-random-secret-at-least-32-characters\"\nADMIN_EMAIL=\"admin@example.com\"\nADMIN_PASSWORD=\"password123\"\n\n# --- AI Integration (人工智能引擎) ---\n# 我们需要用来对客户邮件进行分类、摘要及问答回复的大语言模型 API 密钥\nOPENAI_API_KEY=\"sk-proj-xxxxxxxxxxxxxxxxxxxxxxxx\"\n\n# --- Incoming Mail Configuration (IMAP 收取) ---\n# 系统用于持续轮询读取发给该邮箱的求助邮件并转换为工单\nIMAP_HOST=\"imap.gmail.com\"\nIMAP_PORT=993\nIMAP_USER=\"support@yourcompany.com\"\nIMAP_PASSWORD=\"your_app_specific_password\"\n\n# --- Outgoing Mail Configuration (SMTP 发送) ---\n# 用于 AI 代发或专员(代理)向客户发送的正式邮件回复网关\nSMTP_HOST=\"smtp.gmail.com\"\nSMTP_PORT=587\nSMTP_USER=\"support@yourcompany.com\"\nSMTP_PASSWORD=\"your_app_specific_password\"\n"}, "c11f437ea5cb7c2f6276e521c80d970a53155da9": {"t": 1785748486.7896886, "n": 1305, "h": "18d9ec37495ca7de", "c": "# -------------------------------------------------------------\n# AI Helpdesk Server - Environment Variables Example\n# 请复制此文件并重命名为 .env,然后将下面的假数据替换为你真实的账号凭据\n# 警告: 真正的 .env 包含机密信息,已经被 .gitignore 屏蔽,不要提交它!\n# -------------------------------------------------------------\n\n# --- Server Core (核心服务器) ---\n# Exprses 后端运行的端口号\nPORT=4000\nCLIENT_ORIGIN=\"http://localhost:5173\"\n\n# --- Database (数据库) ---\n# 请将 username, password 替换为你的本地或云端 Postgres 库的真实配置,最后的 helpdesk 是库名\nDATABASE_URL=\"postgresql://username:password@localhost:5432/helpdesk?schema=public\"\n\n# --- Authentication (身份验证) ---\n# Better Auth 使用的服务端 URL 和加密密钥\nBETTER_AUTH_URL=\"http://localhost:4000\"\nBETTER_AUTH_SECRET=\"replace-with-a-random-secret-at-least-32-characters\"\nADMIN_EMAIL=\"admin@example.com\"\nADMIN_PASSWORD=\"password123\"\n\n# --- AI Integration (人工智能引擎) ---\n# 我们需要用来对客户邮件进行分类、摘要及问答回复的大语言模型 API 密钥\nOPENAI_API_KEY=\"sk-proj-xxxxxxxxxxxxxxxxxxxxxxxx\"\n\n# --- Incoming Mail Configuration (IMAP 收取) ---\n# 系统用于持续轮询读取发给该邮箱的求助邮件并转换为工单\nIMAP_HOST=\"imap.gmail.com\"\nIMAP_PORT=993\nIMAP_USER=\"support@yourcompany.com\"\nIMAP_PASSWORD=\"your_app_specific_password\"\n\n# --- Outgoing Mail Configuration (SMTP 发送) ---\n# 用于 AI 代发或专员(代理)向客户发送的正式邮件回复网关\nSMTP_HOST=\"smtp.gmail.com\"\nSMTP_PORT=587\nSMTP_USER=\"support@yourcompany.com\"\nSMTP_PASSWORD=\"your_app_specific_password\"\n"}, "b43123fd62cdf6bf8e89c9f5a6ec5a306368ee3f": {"t": 1785748487.827879, "n": 1029, "h": "3047f27e94f957f6", "c": "# -------------------------------------------------------------\n# AI Helpdesk Server - Environment Variables Example\n# 请复制此文件并重命名为 .env,然后将下面的假数据替换为你真实的账号凭据\n# 警告: 真正的 .env 包含机密信息,已经被 .gitignore 屏蔽,不要提交它!\n# -------------------------------------------------------------\n\n# --- Server Core (核心服务器) ---\n# Exprses 后端运行的端口号\nPORT=4000\n\n# --- Database (数据库) ---\n# 请将 username, password 替换为你的本地或云端 Postgres 库的真实配置,最后的 helpdesk 是库名\nDATABASE_URL=\"postgresql://username:password@localhost:5432/helpdesk?schema=public\"\n\n# --- AI Integration (人工智能引擎) ---\n# 我们需要用来对客户邮件进行分类、摘要及问答回复的大语言模型 API 密钥\nOPENAI_API_KEY=\"sk-proj-xxxxxxxxxxxxxxxxxxxxxxxx\"\n\n# --- Incoming Mail Configuration (IMAP 收取) ---\n# 系统用于持续轮询读取发给该邮箱的求助邮件并转换为工单\nIMAP_HOST=\"imap.gmail.com\"\nIMAP_PORT=993\nIMAP_USER=\"support@yourcompany.com\"\nIMAP_PASSWORD=\"your_app_specific_password\"\n\n# --- Outgoing Mail Configuration (SMTP 发送) ---\n# 用于 AI 代发或专员(代理)向客户发送的正式邮件回复网关\nSMTP_HOST=\"smtp.gmail.com\"\nSMTP_PORT=587\nSMTP_USER=\"support@yourcompany.com\"\nSMTP_PASSWORD=\"your_app_specific_password\"\n"}}}}