From 6fb8be275a1c01d231bf1d4b36b26bf0ad0a19a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Thu, 2 Apr 2026 20:21:01 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E4=B8=BA=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=B7=BB=E5=8A=A0=E7=B1=BB=E5=9E=8B=E6=B3=A8?= =?UTF-8?q?=E8=A7=A3=E5=B9=B6=E5=88=9D=E5=A7=8B=E5=8C=96=E4=B8=93=E5=AE=B6?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 CURRENT_ENV 变量添加 'production' 类型注解 - 初始化 .workbuddy/expert-history.json 文件 - 添加 Will 专家配置信息 - 记录专家使用时间和行业信息 --- .workbuddy/expert-history.json | 17 +++++++++++++++++ config/env.ts | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .workbuddy/expert-history.json diff --git a/.workbuddy/expert-history.json b/.workbuddy/expert-history.json new file mode 100644 index 0000000..a9bc86f --- /dev/null +++ b/.workbuddy/expert-history.json @@ -0,0 +1,17 @@ +{ + "version": 2, + "sessions": { + "bb17ec0263344400afb0ecfafefc1ab1": [ + { + "expertId": "SeniorDeveloper", + "name": "Will", + "profession": "高级开发工程师", + "avatarUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/avatars/02-Engineering/SeniorDeveloper/SeniorDeveloper.png", + "promptUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/experts/02-Engineering/SeniorDeveloper/SeniorDeveloper_zh.md", + "usedAt": 1775132175089, + "industryId": "all" + } + ] + }, + "lastUpdated": 1775132225586 +} \ No newline at end of file diff --git a/config/env.ts b/config/env.ts index d0947f1..84d3981 100644 --- a/config/env.ts +++ b/config/env.ts @@ -2,7 +2,7 @@ // ============ 环境切换开关(修改这里即可切换环境)============ // 可选值: 'development' | 'test' | 'production' -const CURRENT_ENV = 'production' as const +const CURRENT_ENV: 'production' = 'production' // =========================================================== export const ENV_CONFIG = {