Extract memind_adm admin server, add local dev tooling, and remove image-generation.

Split platform admin and ops APIs into standalone admin-server.mjs with network guards; simplify billing to RMB token pricing, refactor user auth, and add rsync deploy plus local-test scripts and docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Your Name
2026-06-17 16:39:39 -07:00
parent ab0718938e
commit b0f5d6a51c
98 changed files with 5394 additions and 3010 deletions
-10
View File
@@ -60,14 +60,6 @@ export const CHAT_SKILL_DEFINITIONS = [
requiresPublish: true,
promptKey: 'generate-page',
},
{
id: 'generate-image',
label: '生成图片',
icon: 'image',
skillName: 'image-designer',
prefillOnly: true,
promptKey: 'generate-image',
},
];
export function buildChatSkillPrompt(promptKey, skillName) {
@@ -86,8 +78,6 @@ export function buildChatSkillPrompt(promptKey, skillName) {
return '请深入分析以下内容,给出结构化解读:背景、关键发现、风险或机会、以及建议下一步:';
case 'generate-page':
return `请使用 ${skillName ?? PUBLISH_SKILL_NAME} 技能:在我的专属 MindSpace 发布目录生成静态 HTML 页面,并给出可公网访问的完整链接。`;
case 'generate-image':
return `请使用 ${skillName ?? 'image-designer'} 技能:以高级视觉设计师身份,根据我的需求生成高质量图片,保存到工作区并给出可点击预览链接。我的需求是:`;
default:
return '';
}