Add MindSpace page live edit, chat skills, and H5 deploy tooling.
Introduce page edit sessions with draft preview and patch API, chat skill picker, user memory profile, h5ApiBase resolution, voice WAV transport, and scripts for 105/g2 deployment and Plaza local dev. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,6 +2,7 @@ import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import {
|
||||
applySkillGrantsToCapabilities,
|
||||
DEFAULT_USER_SKILLS,
|
||||
listPlatformSkillCatalog,
|
||||
normalizeSkillPatch,
|
||||
resolveSkillMap,
|
||||
@@ -39,3 +40,11 @@ test('normalizeSkillPatch ignores unknown skills', () => {
|
||||
const catalog = listPlatformSkillCatalog(h5Root);
|
||||
assert.deepEqual(normalizeSkillPatch(catalog, { unknown: true }), {});
|
||||
});
|
||||
|
||||
test('DEFAULT_USER_SKILLS enables common platform skills', () => {
|
||||
assert.equal(DEFAULT_USER_SKILLS.web, true);
|
||||
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['static-page-publish'], false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user