feat(mindspace): add SEO/GEO delivery, page template catalog, and admin hooks
Memind CI / Test, build, and release guards (push) Has been cancelled
Memind CI / Test, build, and release guards (push) Has been cancelled
Enable optional SEO/GEO injection and discovery routes for confirmed public pages while keeping private pages noindex. Add premium page template skills, portal catalog API, template shop UI, and Baidu push gated by memind_adm config. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -10,6 +10,12 @@ import {
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
export const PAGE_TEMPLATE_SKILL_PREFIX = 'page-template-';
|
||||
|
||||
export function isPageTemplateSkill(name) {
|
||||
return String(name ?? '').startsWith(PAGE_TEMPLATE_SKILL_PREFIX);
|
||||
}
|
||||
|
||||
export const PAGE_DATA_COLLECT_SKILL_NAME = 'page-data-collect';
|
||||
export const EXCEL_ANALYST_SKILL_NAME = 'excel-analyst';
|
||||
export const IMAGE_GENERATION_SKILL_NAME = 'image-generation';
|
||||
@@ -32,6 +38,26 @@ export const DEFAULT_USER_SKILLS = {
|
||||
[PAGE_DATA_COLLECT_SKILL_NAME]: true,
|
||||
[AIDER_DEVELOPMENT_SKILL_NAME]: false,
|
||||
[PUBLISH_SKILL_NAME]: false,
|
||||
'page-template-travel': false,
|
||||
'page-template-campaign': false,
|
||||
'page-template-survey': false,
|
||||
'page-template-restaurant': false,
|
||||
'page-template-portfolio': false,
|
||||
'page-template-event': false,
|
||||
'page-template-course': false,
|
||||
'page-template-realestate': false,
|
||||
'page-template-blog': false,
|
||||
'page-template-resume': false,
|
||||
'page-template-wedding': false,
|
||||
'page-template-fitness': false,
|
||||
'page-template-product-grid': false,
|
||||
'page-template-saas': false,
|
||||
'page-template-hotel': false,
|
||||
'page-template-agency': false,
|
||||
'page-template-photography': false,
|
||||
'page-template-podcast': false,
|
||||
'page-template-charity': false,
|
||||
'page-template-startup': false,
|
||||
};
|
||||
|
||||
/** Optional presets for admin role configuration (creator / developer). */
|
||||
|
||||
Reference in New Issue
Block a user