feat: add pluggable Excel analyst report guard
Memind CI / Test, build, and release guards (push) Has been cancelled

This commit is contained in:
john
2026-07-17 11:52:21 +08:00
parent 75b32d959c
commit 0c1c0c3b48
20 changed files with 2099 additions and 8 deletions
+10
View File
@@ -28,6 +28,16 @@ test('buildSkillRuntimeCatalogSummary includes product-campaign-page manifest',
assert.ok(product.triggerKeywords.includes('带货'));
});
test('buildSkillRuntimeCatalogSummary includes Excel Analyst manifest for MemindAdm', () => {
const catalog = buildSkillRuntimeCatalogSummary(h5Root);
const excel = catalog.find((item) => item.name === 'excel-analyst');
assert.ok(excel);
assert.equal(excel.hasManifest, true);
assert.equal(excel.version, '0.2.0');
assert.ok(excel.triggerKeywords.includes('分析Excel'));
assert.equal(excel.routerPromptKey, 'excel-analyst');
});
test('buildAutoChatSkillPrefixOptions returns empty object when router is disabled', () => {
assert.deepEqual(
buildAutoChatSkillPrefixOptions({