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:
@@ -15,7 +15,6 @@ const h5Root = path.dirname(fileURLToPath(import.meta.url));
|
||||
test('lists static-page-publish in platform catalog', () => {
|
||||
const catalog = listPlatformSkillCatalog(h5Root);
|
||||
assert.ok(catalog.some((item) => item.name === 'static-page-publish'));
|
||||
assert.ok(catalog.some((item) => item.name === 'image-designer'));
|
||||
});
|
||||
|
||||
test('granting publish skill enables static_publish capability', () => {
|
||||
@@ -47,6 +46,5 @@ test('DEFAULT_USER_SKILLS enables common platform skills', () => {
|
||||
assert.equal(DEFAULT_USER_SKILLS.search, true);
|
||||
assert.equal(DEFAULT_USER_SKILLS['form-builder'], true);
|
||||
assert.equal(DEFAULT_USER_SKILLS['table-viewer'], true);
|
||||
assert.equal(DEFAULT_USER_SKILLS['image-designer'], true);
|
||||
assert.equal(DEFAULT_USER_SKILLS['static-page-publish'], false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user