refactor: 项目更名 WeKnora → Academy
Build & Publish (dsh-academy) / End-to-end inside dsh (latest, advisory) (push) Skipped
CLI / test (macos-latest / go 1.26) (push) Canceled after 0s
CLI / test (ubuntu-latest / go 1.26) (push) Canceled after 0s
CLI / test (windows-latest / go 1.26) (push) Canceled after 0s
Build and Push Docker Image / build-ui (push) Canceled after 0s
Build and Push Docker Image / build-docreader (push) Canceled after 0s
Build and Push Docker Image / build-sandbox (push) Canceled after 0s
Build and Push Docker Image / build-app (amd64, linux/amd64, ubuntu-latest) (push) Canceled after 0s
Build and Push Docker Image / build-app (arm64, linux/arm64, ubuntu-24.04-arm) (push) Canceled after 0s
Build and Push Docker Image / merge (push) Canceled after 0s
Frontend / Test, type-check, and build (push) Canceled after 0s
Frontend / Docker multi-stage image (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.10) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.11) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.12) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.13) (push) Canceled after 0s
Build & Publish (mcp-server) / Build sdist + wheel (push) Canceled after 0s
Build & Publish (mcp-server) / Publish to PyPI (push) Canceled after 0s
Anydoc / anydoc parser engine (push) Canceled after 0s
App / Format, vet, test, and build (push) Canceled after 0s
DocReader / Python tests and Go client tests (push) Canceled after 0s
Build & Publish (dsh-academy) / Typecheck, test, pack (push) Canceled after 0s
Build & Publish (dsh-academy) / End-to-end inside dsh (pinned) (push) Canceled after 0s
Build & Publish (dsh-academy) / Publish to npm (push) Canceled after 0s
Go Lint Cache / warm lint cache (.) (push) Canceled after 0s
Go Lint Cache / warm lint cache (cli) (push) Canceled after 0s
Go Lint Cache / warm lint cache (client) (push) Canceled after 0s
Helm / chart (push) Canceled after 0s
Build & Publish (dsh-academy) / End-to-end inside dsh (latest, advisory) (push) Skipped
CLI / test (macos-latest / go 1.26) (push) Canceled after 0s
CLI / test (ubuntu-latest / go 1.26) (push) Canceled after 0s
CLI / test (windows-latest / go 1.26) (push) Canceled after 0s
Build and Push Docker Image / build-ui (push) Canceled after 0s
Build and Push Docker Image / build-docreader (push) Canceled after 0s
Build and Push Docker Image / build-sandbox (push) Canceled after 0s
Build and Push Docker Image / build-app (amd64, linux/amd64, ubuntu-latest) (push) Canceled after 0s
Build and Push Docker Image / build-app (arm64, linux/arm64, ubuntu-24.04-arm) (push) Canceled after 0s
Build and Push Docker Image / merge (push) Canceled after 0s
Frontend / Test, type-check, and build (push) Canceled after 0s
Frontend / Docker multi-stage image (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.10) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.11) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.12) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.13) (push) Canceled after 0s
Build & Publish (mcp-server) / Build sdist + wheel (push) Canceled after 0s
Build & Publish (mcp-server) / Publish to PyPI (push) Canceled after 0s
Anydoc / anydoc parser engine (push) Canceled after 0s
App / Format, vet, test, and build (push) Canceled after 0s
DocReader / Python tests and Go client tests (push) Canceled after 0s
Build & Publish (dsh-academy) / Typecheck, test, pack (push) Canceled after 0s
Build & Publish (dsh-academy) / End-to-end inside dsh (pinned) (push) Canceled after 0s
Build & Publish (dsh-academy) / Publish to npm (push) Canceled after 0s
Go Lint Cache / warm lint cache (.) (push) Canceled after 0s
Go Lint Cache / warm lint cache (cli) (push) Canceled after 0s
Go Lint Cache / warm lint cache (client) (push) Canceled after 0s
Helm / chart (push) Canceled after 0s
- 全量替换代码/配置/文档中的项目名(保留上游 GitHub 链接、weixin 文档域名、Docker Hub 镜像名) - 重命名 32 个含项目名的文件/目录;Go module 路径改为 academy(含 client/cli 子模块) - docreader proto 描述符采用等长替换,保持序列化字节布局有效 - Dockerfile.app 构建网络修复: browserskill 离线产物通道、PyPI/apt 国内镜像 - 运行验证: go build ✓ docker compose up ✓ 健康检查 ✓
This commit is contained in:
1 parent
9097ee699d
commit
9058149576
3136 files changed
+18018
-18004
No files matched your search
@@ -1,4 +1,4 @@
|
||||
const STORAGE_KEY = "weknora_settings";
|
||||
const STORAGE_KEY = "academy_settings";
|
||||
|
||||
function normalizeBaseUrl(baseUrl) {
|
||||
if (!baseUrl || typeof baseUrl !== "string") {
|
||||
|
||||
+18
-18
@@ -8,9 +8,9 @@ const MESSAGES = {
|
||||
navKnowledge: "知识库",
|
||||
navChat: "问答",
|
||||
navSettings: "设置",
|
||||
knowledgeTitle: "WeKnora 知识库",
|
||||
knowledgeTitle: "Academy 知识库",
|
||||
knowledgeSubtitle: "在微信中选择知识库,导入网页或提问。",
|
||||
needsSettings: "请先配置 WeKnora API 地址和 API Key,再加载知识库。",
|
||||
needsSettings: "请先配置 Academy API 地址和 API Key,再加载知识库。",
|
||||
openSettings: "打开设置",
|
||||
knowledgeBase: "知识库",
|
||||
tapToSelect: "点击选择",
|
||||
@@ -24,17 +24,17 @@ const MESSAGES = {
|
||||
imported: "导入成功",
|
||||
importFailed: "导入失败",
|
||||
chatTitle: "知识问答",
|
||||
chatSubtitle: "向当前选中的 WeKnora 知识库提问。",
|
||||
chatSubtitle: "向当前选中的 Academy 知识库提问。",
|
||||
question: "问题",
|
||||
questionPlaceholder: "输入你的问题…",
|
||||
askWeKnora: "向 WeKnora 提问",
|
||||
askAcademy: "向 Academy 提问",
|
||||
answer: "回答",
|
||||
chatFailed: "问答失败",
|
||||
sessionIdMissing: "会话接口未返回 session id。",
|
||||
settingsTitle: "连接 WeKnora",
|
||||
settingsSubtitle: "填写 WeKnora API 地址与租户 API Key。",
|
||||
settingsTitle: "连接 Academy",
|
||||
settingsSubtitle: "填写 Academy API 地址与租户 API Key。",
|
||||
apiBaseUrl: "API 地址",
|
||||
apiBaseUrlPlaceholder: "https://your-weknora.example.com",
|
||||
apiBaseUrlPlaceholder: "https://your-academy.example.com",
|
||||
apiKey: "API Key",
|
||||
apiKeyPlaceholder: "sk-...",
|
||||
language: "界面语言",
|
||||
@@ -42,8 +42,8 @@ const MESSAGES = {
|
||||
languageEn: "English",
|
||||
saveSettings: "保存设置",
|
||||
saved: "已保存",
|
||||
missingBaseUrl: "请先配置 WeKnora API 地址。",
|
||||
missingApiKey: "请先配置 WeKnora API Key。"
|
||||
missingBaseUrl: "请先配置 Academy API 地址。",
|
||||
missingApiKey: "请先配置 Academy API Key。"
|
||||
},
|
||||
en: {
|
||||
tabKnowledge: "Knowledge",
|
||||
@@ -52,9 +52,9 @@ const MESSAGES = {
|
||||
navKnowledge: "Knowledge",
|
||||
navChat: "Chat",
|
||||
navSettings: "Settings",
|
||||
knowledgeTitle: "WeKnora Knowledge",
|
||||
knowledgeTitle: "Academy Knowledge",
|
||||
knowledgeSubtitle: "Import a web page into a selected knowledge base from WeChat.",
|
||||
needsSettings: "Configure the WeKnora API base URL and API key before loading knowledge bases.",
|
||||
needsSettings: "Configure the Academy API base URL and API key before loading knowledge bases.",
|
||||
openSettings: "Open Settings",
|
||||
knowledgeBase: "Knowledge Base",
|
||||
tapToSelect: "Tap to select",
|
||||
@@ -68,17 +68,17 @@ const MESSAGES = {
|
||||
imported: "Imported",
|
||||
importFailed: "Import failed",
|
||||
chatTitle: "Knowledge Chat",
|
||||
chatSubtitle: "Ask the selected WeKnora knowledge base.",
|
||||
chatSubtitle: "Ask the selected Academy knowledge base.",
|
||||
question: "Question",
|
||||
questionPlaceholder: "Ask something...",
|
||||
askWeKnora: "Ask WeKnora",
|
||||
askAcademy: "Ask Academy",
|
||||
answer: "Answer",
|
||||
chatFailed: "Chat failed",
|
||||
sessionIdMissing: "The session API did not return a session id.",
|
||||
settingsTitle: "Connect WeKnora",
|
||||
settingsSubtitle: "Use your WeKnora API endpoint and tenant API key.",
|
||||
settingsTitle: "Connect Academy",
|
||||
settingsSubtitle: "Use your Academy API endpoint and tenant API key.",
|
||||
apiBaseUrl: "API Base URL",
|
||||
apiBaseUrlPlaceholder: "https://your-weknora.example.com",
|
||||
apiBaseUrlPlaceholder: "https://your-academy.example.com",
|
||||
apiKey: "API Key",
|
||||
apiKeyPlaceholder: "sk-...",
|
||||
language: "Language",
|
||||
@@ -86,8 +86,8 @@ const MESSAGES = {
|
||||
languageEn: "English",
|
||||
saveSettings: "Save settings",
|
||||
saved: "Saved",
|
||||
missingBaseUrl: "Please configure the WeKnora API base URL first.",
|
||||
missingApiKey: "Please configure the WeKnora API key first."
|
||||
missingBaseUrl: "Please configure the Academy API base URL first.",
|
||||
missingApiKey: "Please configure the Academy API key first."
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user