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:
+18
-4
@@ -55,6 +55,11 @@ test('api lockdown blocks extension admin routes', () => {
|
||||
api_lockdown: true,
|
||||
});
|
||||
assert.equal(allowed.allowed, true);
|
||||
|
||||
const deleteAllowed = evaluateProxyRequest('DELETE', '/sessions/abc', {
|
||||
api_lockdown: true,
|
||||
});
|
||||
assert.equal(deleteAllowed.allowed, true);
|
||||
});
|
||||
|
||||
test('api lockdown blocks native H5 APIs from agent proxy fallback', () => {
|
||||
@@ -78,13 +83,22 @@ test('resolvePolicies maps legacy approve modes to auto', () => {
|
||||
});
|
||||
|
||||
test('resolveAgentGooseMode uses chat when no tools are enabled', () => {
|
||||
assert.equal(
|
||||
resolveAgentGooseMode(DEFAULT_USER_CAPABILITIES, { goose_mode: 'auto' }),
|
||||
'chat',
|
||||
);
|
||||
const chatOnly = {
|
||||
...DEFAULT_USER_CAPABILITIES,
|
||||
skills: false,
|
||||
chat_recall: false,
|
||||
memory_store: false,
|
||||
context_memory: false,
|
||||
image_read: false,
|
||||
};
|
||||
assert.equal(resolveAgentGooseMode(chatOnly, { goose_mode: 'auto' }), 'chat');
|
||||
});
|
||||
|
||||
test('resolveAgentGooseMode auto-runs tools without end-user prompts', () => {
|
||||
assert.equal(
|
||||
resolveAgentGooseMode(DEFAULT_USER_CAPABILITIES, { goose_mode: 'chat' }),
|
||||
'auto',
|
||||
);
|
||||
assert.equal(
|
||||
resolveAgentGooseMode(
|
||||
{ ...DEFAULT_USER_CAPABILITIES, static_publish: true },
|
||||
|
||||
Reference in New Issue
Block a user