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

- 全量替换代码/配置/文档中的项目名(保留上游 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:
runny committed 2026-11-13 20:52:51 +08:00
1 parent 9097ee699d
commit 9058149576
3136 files changed
+18018 -18004

No files matched your search

+11 -11
View File
@@ -1,14 +1,14 @@
import type { SpotlightGuideStep } from '@/types/spotlightGuide'
export const GLOBAL_USER_GUIDE_KEY = 'weknora:new-user-guide-done:v1'
export const OPEN_NEW_USER_GUIDE_EVENT = 'weknora:open-new-user-guide'
export const GLOBAL_USER_GUIDE_KEY = 'academy:new-user-guide-done:v1'
export const OPEN_NEW_USER_GUIDE_EVENT = 'academy:open-new-user-guide'
export function openNewUserGuide() {
window.dispatchEvent(new CustomEvent(OPEN_NEW_USER_GUIDE_EVENT))
}
export const KB_EDITOR_FOCUS_SECTION_EVENT = 'weknora:kb-editor-focus-section'
export const AGENT_EDITOR_FOCUS_SECTION_EVENT = 'weknora:agent-editor-focus-section'
export const KB_EDITOR_FOCUS_SECTION_EVENT = 'academy:kb-editor-focus-section'
export const AGENT_EDITOR_FOCUS_SECTION_EVENT = 'academy:agent-editor-focus-section'
export type ContextualGuideTourId =
| 'kbList'
@@ -45,7 +45,7 @@ export interface ContextualGuideTourConfig {
export const CONTEXTUAL_GUIDE_TOURS: Record<ContextualGuideTourId, ContextualGuideTourConfig> = {
kbList: {
storageKey: 'weknora:contextual-guide-kb-list:v2',
storageKey: 'academy:contextual-guide-kb-list:v2',
stepI18nPrefix: 'contextualGuide.kbList.steps',
openDelayMs: 500,
steps: [
@@ -60,20 +60,20 @@ export const CONTEXTUAL_GUIDE_TOURS: Record<ContextualGuideTourId, ContextualGui
},
// 步骤由 KbCreateContextualGuide.vue 按文档库/FAQ 动态组装
kbCreate: {
storageKey: 'weknora:contextual-guide-kb-create:v3',
storageKey: 'academy:contextual-guide-kb-create:v3',
stepI18nPrefix: 'contextualGuide.kbCreate.steps',
openDelayMs: 450,
alsoCompleteTours: ['kbList'],
steps: [],
},
tenantModels: {
storageKey: 'weknora:contextual-guide-tenant-models:v1',
storageKey: 'academy:contextual-guide-tenant-models:v1',
stepI18nPrefix: 'contextualGuide.tenantModels.steps',
openDelayMs: 500,
steps: [],
},
kbDetail: {
storageKey: 'weknora:contextual-guide-kb-detail:v1',
storageKey: 'academy:contextual-guide-kb-detail:v1',
stepI18nPrefix: 'contextualGuide.kbDetail.steps',
openDelayMs: 600,
steps: [
@@ -89,7 +89,7 @@ export const CONTEXTUAL_GUIDE_TOURS: Record<ContextualGuideTourId, ContextualGui
],
},
chat: {
storageKey: 'weknora:contextual-guide-chat:v1',
storageKey: 'academy:contextual-guide-chat:v1',
stepI18nPrefix: 'contextualGuide.chat.steps',
openDelayMs: 800,
steps: [
@@ -113,7 +113,7 @@ export const CONTEXTUAL_GUIDE_TOURS: Record<ContextualGuideTourId, ContextualGui
],
},
agentList: {
storageKey: 'weknora:contextual-guide-agent-list:v1',
storageKey: 'academy:contextual-guide-agent-list:v1',
stepI18nPrefix: 'contextualGuide.agentList.steps',
openDelayMs: 500,
steps: [
@@ -126,7 +126,7 @@ export const CONTEXTUAL_GUIDE_TOURS: Record<ContextualGuideTourId, ContextualGui
],
},
agentCreate: {
storageKey: 'weknora:contextual-guide-agent-create:v1',
storageKey: 'academy:contextual-guide-agent-create:v1',
stepI18nPrefix: 'contextualGuide.agentCreate.steps',
openDelayMs: 450,
alsoCompleteTours: ['agentList'],
+1 -1
View File
@@ -10,7 +10,7 @@ export type SettingsRoleKey = 'viewer' | 'contributor' | 'admin' | 'owner'
export const SETTINGS_SECTION_MIN_ROLE: Record<string, SettingsRoleKey> = {
general: 'viewer',
ollama: 'admin',
weknoracloud: 'admin',
academycloud: 'admin',
models: 'viewer',
websearch: 'admin',
chathistory: 'admin',